	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3306a_monitor_vsb
_lgdt3306a_monitor_vsb:                 ## @lgdt3306a_monitor_vsb
	.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	%rdi, %rbx
	leaq	-36(%rbp), %rdx
	movl	$8609, %esi                     ## imm = 0x21A1
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.1:
	movl	-36(%rbp), %r15d
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8581, %esi                     ## imm = 0x2185
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.2:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8593, %esi                     ## imm = 0x2191
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.3:
	movl	-36(%rbp), %r14d
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8576, %esi                     ## imm = 0x2180
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.4:
	movl	-36(%rbp), %r12d
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8577, %esi                     ## imm = 0x2181
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.5:
	andl	$63, %r15d
	shrl	$7, %r14d
	andl	$1, %r14d
	andl	$3, %r12d
	shll	$8, %r12d
	orl	-36(%rbp), %r12d
	movl	-40(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_dbg_info
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4193, %esi                     ## imm = 0x1061
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:
	movl	$248, %edx
	andl	-36(%rbp), %edx
	cmpl	$19, %r15d
	jb	LBB0_11
## %bb.7:
	cmpl	$105, -40(%rbp)
	jl	LBB0_11
## %bb.8:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.9:
	cmpl	$1023, %r12d                    ## imm = 0x3FF
	je	LBB0_12
## %bb.10:
	cmpl	$108, %r12d
	jl	LBB0_12
LBB0_11:
	orl	$4, %edx
LBB0_12:
	movl	%edx, -36(%rbp)
	movq	%rbx, %rdi
	movl	$4193, %esi                     ## imm = 0x1061
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$36, %esi
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movl	-36(%rbp), %eax
	andl	$15, %eax
	leal	80(%rax), %edx
	testl	%r14d, %r14d
	cmovnel	%eax, %edx
	movl	%edx, -36(%rbp)
	movq	%rbx, %rdi
	movl	$36, %esi
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4157, %esi                     ## imm = 0x103D
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	$207, %edx
	andl	-36(%rbp), %edx
	orl	$32, %edx
	movl	%edx, -36(%rbp)
	movq	%rbx, %rdi
	movl	$4157, %esi                     ## imm = 0x103D
	callq	_lgdt3306a_write_reg
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snrRef=%d maxPowerMan=0x%x nCombDet=%d fbDlyCir=0x%x\n"

	.no_dead_strip	_lgdt3306a_monitor_vsb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt3306a_monitor_vsb
_lgdt3306a_monitor_vsb:                 ; @lgdt3306a_monitor_vsb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	add	x2, sp, #12
	mov	w1, #8609
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.1:
	ldr	w20, [sp, #12]
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #8581
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.2:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8593
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.3:
	ldr	w21, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8576
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.4:
	ldr	w23, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8577
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.5:
	and	w22, w20, #0x3f
	ubfx	w20, w21, #7, #1
	ubfiz	w8, w23, #8, #2
	ldp	w2, w9, [sp, #8]
	orr	w21, w9, w8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x3, x20
	mov	x4, x21
	bl	_dbg_info
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #4193
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.6:
	ldr	w8, [sp, #12]
	and	w2, w8, #0xf8
	cmp	w22, #19
	b.lo	LBB0_11
; %bb.7:
	ldr	w8, [sp, #8]
	cmp	w8, #105
	b.lt	LBB0_11
; %bb.8:
	cbz	w20, LBB0_11
; %bb.9:
	cmp	w21, #1023
	b.eq	LBB0_12
; %bb.10:
	cmp	w21, #108
	b.lt	LBB0_12
LBB0_11:
	orr	w2, w2, #0x4
LBB0_12:
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #4193
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_17
; %bb.13:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #36
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.14:
	ldr	w8, [sp, #12]
	and	w9, w8, #0xf
	mov	w10, #80
	bfxil	w10, w8, #0, #4
	cmp	w20, #0
	csel	w2, w10, w9, eq
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #36
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_17
; %bb.15:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #4157
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_17
; %bb.16:
	ldr	w8, [sp, #12]
	mov	w9, #207
	and	w8, w8, w9
	orr	w2, w8, #0x20
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #4157
	bl	_lgdt3306a_write_reg
LBB0_17:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snrRef=%d maxPowerMan=0x%x nCombDet=%d fbDlyCir=0x%x\n"

	.no_dead_strip	_lgdt3306a_monitor_vsb
.subsections_via_symbols
