	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r820t_iq_tree
_r820t_iq_tree:                         ## @r820t_iq_tree
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	cmpl	$8, %r8d
	sete	%r14b
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %esi
	movl	%edx, %r12d
	callq	_r820t_write_reg
	testl	%eax, %eax
	js	LBB0_15
## %bb.1:
	movb	%r14b, %r15b
	orl	$8, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %r14d
	movl	%r13d, %edx
	callq	_r820t_write_reg
	testl	%eax, %eax
	js	LBB0_15
## %bb.2:
	movq	%rbx, %rdi
	callq	_r820t_multi_read
	testl	%eax, %eax
	js	LBB0_15
## %bb.3:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	$8, %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, (%r13)
	movl	%r14d, %ecx
	movl	%r14d, %eax
	movl	%r12d, %r14d
	movl	%ecx, %r12d
	cmovel	%r14d, %eax
	movl	%r14d, %ecx
	cmovel	%r12d, %ecx
	movl	%eax, 4(%r13)
	movl	%ecx, 8(%r13)
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_r820t_write_reg
	testl	%eax, %eax
	js	LBB0_15
## %bb.4:
	incl	%r12d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_r820t_write_reg
	testl	%eax, %eax
	js	LBB0_15
## %bb.5:
	movq	%rbx, %rdi
	callq	_r820t_multi_read
	testl	%eax, %eax
	js	LBB0_15
## %bb.6:
	cmpl	$8, -44(%rbp)                   ## 4-byte Folded Reload
	movl	%eax, 12(%r13)
	movl	%r12d, %eax
	cmovel	%r14d, %eax
	movl	%r14d, %ecx
	cmovel	%r12d, %ecx
	movl	%eax, 16(%r13)
	movl	%ecx, 20(%r13)
	movl	%r12d, %ecx
	andl	$31, %ecx
	cmpl	$2, %ecx
	jae	LBB0_7
## %bb.8:
	movl	$2, %eax
	subl	%ecx, %eax
	testb	$32, %r12b
	jne	LBB0_9
## %bb.10:
	orl	%eax, %r12d
	orl	$32, %r12d
	jmp	LBB0_11
LBB0_7:
	addl	$-2, %r12d
	jmp	LBB0_11
LBB0_9:
	andl	$192, %r12d
	orl	%eax, %r12d
LBB0_11:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_r820t_write_reg
	testl	%eax, %eax
	js	LBB0_15
## %bb.12:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_r820t_write_reg
	testl	%eax, %eax
	js	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	callq	_r820t_multi_read
	testl	%eax, %eax
	js	LBB0_15
## %bb.14:
	cmpl	$8, -44(%rbp)                   ## 4-byte Folded Reload
	movl	%r12d, %ecx
	cmovel	%r14d, %ecx
	cmovel	%r12d, %r14d
	movl	%eax, 24(%r13)
	movl	%ecx, 28(%r13)
	movl	%r14d, 32(%r13)
	xorl	%eax, %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r820t_iq_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r820t_iq_tree
_r820t_iq_tree:                         ; @r820t_iq_tree
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x24, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	cmp	w4, #8
	mov	w8, #8
	cinc	w23, w8, eq
	mov	x1, x4
	bl	_r820t_write_reg
	tbnz	w0, #31, LBB0_15
; %bb.1:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_r820t_write_reg
	tbnz	w0, #31, LBB0_15
; %bb.2:
	mov	x0, x22
	bl	_r820t_multi_read
	tbnz	w0, #31, LBB0_15
; %bb.3:
	cmp	w21, #8
	csel	w8, w20, w24, eq
	csel	w9, w24, w20, eq
	stp	w0, w8, [x19]
	str	w9, [x19, #8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_r820t_write_reg
	tbnz	w0, #31, LBB0_15
; %bb.4:
	add	w25, w24, #1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_r820t_write_reg
	tbnz	w0, #31, LBB0_15
; %bb.5:
	mov	x0, x22
	bl	_r820t_multi_read
	tbnz	w0, #31, LBB0_15
; %bb.6:
	cmp	w21, #8
	csel	w8, w20, w25, eq
	csel	w9, w25, w20, eq
	stp	w0, w8, [x19, #12]
	str	w9, [x19, #20]
	and	w8, w25, #0x1f
	cmp	w8, #2
	b.hs	LBB0_9
; %bb.7:
	mov	w9, #2
	sub	w8, w9, w8
	tbnz	w25, #5, LBB0_10
; %bb.8:
	orr	w8, w25, w8
	orr	w24, w8, #0x20
	b	LBB0_11
LBB0_9:
	sub	w24, w24, #1
	b	LBB0_11
LBB0_10:
	and	w9, w25, #0xc0
	orr	w24, w8, w9
LBB0_11:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_r820t_write_reg
	tbnz	w0, #31, LBB0_15
; %bb.12:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_r820t_write_reg
	tbnz	w0, #31, LBB0_15
; %bb.13:
	mov	x0, x22
	bl	_r820t_multi_read
	tbnz	w0, #31, LBB0_15
; %bb.14:
	cmp	w21, #8
	csel	w8, w20, w24, eq
	csel	w9, w24, w20, eq
	stp	w0, w8, [x19, #24]
	str	w9, [x19, #32]
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r820t_iq_tree
.subsections_via_symbols
