	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reread_config_rom
_reread_config_rom:                     ## @reread_config_rom
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rcx
	xorl	%edx, %edx
	callq	_read_rom
	movq	_RCODE_COMPLETE@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_17
## %bb.1:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.14:
	movq	(%rbx), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.3:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_read_rom
	cmpl	(%r12), %eax
	jne	LBB0_17
## %bb.4:
	movq	-40(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	8(%rcx), %rax
	jne	LBB0_15
## %bb.5:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$2, %edx
	callq	_read_rom
	cmpl	(%r12), %eax
	jne	LBB0_17
## %bb.6:
	movq	-40(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	16(%rcx), %rax
	jne	LBB0_15
## %bb.7:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$3, %edx
	callq	_read_rom
	cmpl	(%r12), %eax
	jne	LBB0_17
## %bb.8:
	movq	-40(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	24(%rcx), %rax
	jne	LBB0_15
## %bb.9:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$4, %edx
	callq	_read_rom
	cmpl	(%r12), %eax
	jne	LBB0_17
## %bb.10:
	movq	-40(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	32(%rcx), %rax
	jne	LBB0_15
## %bb.11:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$5, %edx
	callq	_read_rom
	cmpl	(%r12), %eax
	jne	LBB0_17
## %bb.12:
	movq	-40(%rbp), %rax
	movq	(%rbx), %rcx
	cmpq	40(%rcx), %rax
	jne	LBB0_15
## %bb.13:
	movl	$0, (%r14)
	jmp	LBB0_16
LBB0_15:
	movl	$1, (%r14)
LBB0_16:
	movl	(%r12), %eax
	jmp	LBB0_17
LBB0_2:
	movq	_RCODE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCODE_COMPLETE,4,2             ## @RCODE_COMPLETE
	.comm	_RCODE_BUSY,4,2                 ## @RCODE_BUSY
	.no_dead_strip	_reread_config_rom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reread_config_rom
_reread_config_rom:                     ; @reread_config_rom
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x3, sp, #8
	mov	w2, #0
	bl	_read_rom
Lloh0:
	adrp	x22, _RCODE_COMPLETE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RCODE_COMPLETE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_16
; %bb.2:
	ldr	x9, [x20]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.3:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_read_rom
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.5:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #2
	bl	_read_rom
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3
	bl	_read_rom
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.8:
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	ldr	x9, [x9, #24]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.9:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #4
	bl	_read_rom
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.10:
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	ldr	x9, [x9, #32]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.11:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #5
	bl	_read_rom
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.12:
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	ldr	x9, [x9, #40]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	str	wzr, [x19]
	b	LBB0_15
LBB0_14:
	mov	w8, #1
	str	w8, [x19]
LBB0_15:
	ldr	w0, [x22]
	b	LBB0_17
LBB0_16:
Lloh2:
	adrp	x8, _RCODE_BUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RCODE_BUSY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_17:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RCODE_COMPLETE,4,2             ; @RCODE_COMPLETE
	.comm	_RCODE_BUSY,4,2                 ; @RCODE_BUSY
	.no_dead_strip	_reread_config_rom
.subsections_via_symbols
