	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r820t_iq
_r820t_iq:                              ## @r820t_iq
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -84(%rbp)
	callq	_r820t_vga_adjust
	leaq	-80(%rbp), %rsi
	leaq	-84(%rbp), %rdx
	movq	%r15, %rdi
	callq	_r820t_imr_cross
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	xorl	%r12d, %r12d
	cmpl	$1, -84(%rbp)
	sete	%r12b
	movl	%r12d, %ebx
	xorl	$9, %ebx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	callq	_r820t_compre_cor
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_r820t_compre_step
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	movl	-80(%rbp), %ecx
	movl	-76(%rbp), %edx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movl	%ebx, %r8d
	callq	_r820t_iq_tree
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	orl	$8, %r12d
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_r820t_compre_cor
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_r820t_compre_step
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movl	-80(%rbp), %ecx
	movl	-76(%rbp), %edx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movl	%r12d, %r8d
	callq	_r820t_iq_tree
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_r820t_compre_cor
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_r820t_section
	movq	-80(%rbp), %rax
	movq	%rax, (%r14)
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$63, %ecx
	callq	_r820t_write_reg_mask
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movl	$9, %esi
	xorl	%edx, %edx
	movl	$63, %ecx
	callq	_r820t_write_reg_mask
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r820t_iq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r820t_iq
_r820t_iq:                              ; @r820t_iq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	wzr, [sp, #12]
	bl	_r820t_vga_adjust
	add	x1, sp, #16
	add	x2, sp, #12
	mov	x0, x19
	bl	_r820t_imr_cross
	tbnz	w0, #31, LBB0_7
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	mov	w8, #8
	cinc	w22, w8, ne
	cinc	w21, w8, eq
	add	x0, sp, #16
	bl	_r820t_compre_cor
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x22
	bl	_r820t_compre_step
	tbnz	w0, #31, LBB0_7
; %bb.2:
	ldp	w3, w2, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	mov	x4, x22
	bl	_r820t_iq_tree
	tbnz	w0, #31, LBB0_7
; %bb.3:
	add	x0, sp, #16
	bl	_r820t_compre_cor
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x21
	bl	_r820t_compre_step
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldp	w3, w2, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	mov	x4, x21
	bl	_r820t_iq_tree
	tbnz	w0, #31, LBB0_7
; %bb.5:
	add	x0, sp, #16
	bl	_r820t_compre_cor
	add	x1, sp, #16
	mov	x0, x19
	bl	_r820t_section
	ldr	x8, [sp, #16]
	str	x8, [x20]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #63
	bl	_r820t_write_reg_mask
	tbnz	w0, #31, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	w1, #9
	mov	w2, #0
	mov	w3, #63
	bl	_r820t_write_reg_mask
LBB0_7:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r820t_iq
.subsections_via_symbols
