	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reread_bus_info_block
_reread_bus_info_block:                 ## @reread_bus_info_block
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rcx
	xorl	%edx, %edx
	callq	_read_rom
	movq	_RCODE_COMPLETE@GOTPCREL(%rip), %r13
	movq	_REREAD_BIB_ERROR@GOTPCREL(%rip), %r12
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.1:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	(%rbx), %rcx
	movq	_REREAD_BIB_CHANGED@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.3:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_read_rom
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.4:
	movq	-48(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	8(%rcx), %rax
	jne	LBB0_17
## %bb.5:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$2, %edx
	callq	_read_rom
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.6:
	movq	-48(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	16(%rcx), %rax
	jne	LBB0_17
## %bb.7:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$3, %edx
	callq	_read_rom
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.8:
	movq	-48(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	24(%rcx), %rax
	jne	LBB0_17
## %bb.9:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_read_rom
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.10:
	movq	-48(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	32(%rcx), %rax
	jne	LBB0_17
## %bb.11:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$5, %edx
	callq	_read_rom
	movq	%r12, %r15
	cmpq	(%r13), %rax
	jne	LBB0_17
## %bb.12:
	movq	-48(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	40(%rcx), %rax
	jne	LBB0_21
## %bb.13:
	movq	_REREAD_BIB_UNCHANGED@GOTPCREL(%rip), %r15
	jmp	LBB0_17
LBB0_16:
	movq	%r12, %r15
	jmp	LBB0_17
LBB0_15:
	movq	_REREAD_BIB_GONE@GOTPCREL(%rip), %r15
LBB0_17:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_REREAD_BIB_CHANGED@GOTPCREL(%rip), %r15
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_RCODE_COMPLETE,8,3             ## @RCODE_COMPLETE
	.comm	_REREAD_BIB_ERROR,4,2           ## @REREAD_BIB_ERROR
	.comm	_REREAD_BIB_GONE,4,2            ## @REREAD_BIB_GONE
	.comm	_REREAD_BIB_CHANGED,4,2         ## @REREAD_BIB_CHANGED
	.comm	_REREAD_BIB_UNCHANGED,4,2       ## @REREAD_BIB_UNCHANGED
	.no_dead_strip	_reread_bus_info_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reread_bus_info_block
_reread_bus_info_block:                 ; @reread_bus_info_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	add	x3, sp, #8
	mov	w2, #0
	bl	_read_rom
Lloh0:
	adrp	x21, _RCODE_COMPLETE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RCODE_COMPLETE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_15
; %bb.2:
	ldr	x9, [x19]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.3:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_read_rom
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.5:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_read_rom
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #3
	bl	_read_rom
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	ldr	x9, [x9, #24]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.9:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_read_rom
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.10:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	ldr	x9, [x9, #32]
Lloh2:
	adrp	x22, _REREAD_BIB_CHANGED@GOTPAGE
Lloh3:
	ldr	x22, [x22, _REREAD_BIB_CHANGED@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.11:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #5
	bl	_read_rom
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	ldr	x9, [x9, #40]
Lloh4:
	adrp	x10, _REREAD_BIB_UNCHANGED@GOTPAGE
Lloh5:
	ldr	x10, [x10, _REREAD_BIB_UNCHANGED@GOTPAGEOFF]
	cmp	x8, x9
	csel	x22, x10, x22, eq
	b	LBB0_16
LBB0_13:
Lloh6:
	adrp	x22, _REREAD_BIB_ERROR@GOTPAGE
Lloh7:
	ldr	x22, [x22, _REREAD_BIB_ERROR@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh8:
	adrp	x22, _REREAD_BIB_CHANGED@GOTPAGE
Lloh9:
	ldr	x22, [x22, _REREAD_BIB_CHANGED@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh10:
	adrp	x22, _REREAD_BIB_GONE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _REREAD_BIB_GONE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RCODE_COMPLETE,8,3             ; @RCODE_COMPLETE
	.comm	_REREAD_BIB_ERROR,4,2           ; @REREAD_BIB_ERROR
	.comm	_REREAD_BIB_GONE,4,2            ; @REREAD_BIB_GONE
	.comm	_REREAD_BIB_CHANGED,4,2         ; @REREAD_BIB_CHANGED
	.comm	_REREAD_BIB_UNCHANGED,4,2       ; @REREAD_BIB_UNCHANGED
	.no_dead_strip	_reread_bus_info_block
.subsections_via_symbols
