	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3306a_pre_monitoring
_lgdt3306a_pre_monitoring:              ## @lgdt3306a_pre_monitoring
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	leaq	-32(%rbp), %rdx
	movl	$8636, %esi                     ## imm = 0x21BC
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.1:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8609, %esi                     ## imm = 0x21A1
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.2:
	movl	-28(%rbp), %r14d
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8601, %esi                     ## imm = 0x2199
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.3:
	movl	-28(%rbp), %r15d
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$144, %esi
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	je	LBB0_4
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	andl	$63, %r14d
	movl	%r15d, %edx
	shrl	$6, %edx
	andl	$1, %edx
	movl	-28(%rbp), %ecx
	shrl	$4, %ecx
	andl	$15, %ecx
	movl	-32(%rbp), %r8d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_dbg_info
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8501, %esi                     ## imm = 0x2135
	callq	_lgdt3306a_read_reg
	btl	$6, %r15d
	jb	LBB0_10
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:
	movl	-28(%rbp), %edx
	andl	$15, %edx
	orl	$160, %edx
	movl	%edx, -28(%rbp)
	movq	%rbx, %rdi
	movl	$8501, %esi                     ## imm = 0x2135
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8513, %esi                     ## imm = 0x2141
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	movl	-28(%rbp), %edx
	andl	$63, %edx
	orl	$128, %edx
	movl	%edx, -28(%rbp)
	movq	%rbx, %rdi
	movl	$8513, %esi                     ## imm = 0x2141
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.9:
	movq	%rbx, %rdi
	movl	$8482, %esi                     ## imm = 0x2122
	movl	$112, %edx
	jmp	LBB0_15
LBB0_10:
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:
	movl	-28(%rbp), %edx
	andl	$15, %edx
	orl	$112, %edx
	movl	%edx, -28(%rbp)
	movq	%rbx, %rdi
	movl	$8501, %esi                     ## imm = 0x2135
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.12:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8513, %esi                     ## imm = 0x2141
	callq	_lgdt3306a_read_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	movl	-28(%rbp), %edx
	andl	$63, %edx
	orl	$64, %edx
	movl	%edx, -28(%rbp)
	movq	%rbx, %rdi
	movl	$8513, %esi                     ## imm = 0x2141
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	%rbx, %rdi
	movl	$8482, %esi                     ## imm = 0x2122
	movl	$64, %edx
LBB0_15:
	callq	_lgdt3306a_write_reg
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snrRef=%d mainStrong=%d aiccrejStatus=%d currChDiffACQ=0x%x\n"

	.no_dead_strip	_lgdt3306a_pre_monitoring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt3306a_pre_monitoring
_lgdt3306a_pre_monitoring:              ; @lgdt3306a_pre_monitoring
	.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, x0
	str	wzr, [sp, #12]
	add	x2, sp, #8
	mov	w1, #8636
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_4
; %bb.1:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8609
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w20, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8601
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w21, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #144
	bl	_lgdt3306a_read_reg
	cbz	w0, LBB0_5
LBB0_4:
	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
LBB0_5:
	and	w1, w20, #0x3f
	lsr	w20, w21, #6
	ubfx	w2, w21, #6, #1
	ldp	w4, w8, [sp, #8]
	ubfx	w3, w8, #4, #4
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_info
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8501
	bl	_lgdt3306a_read_reg
	tbnz	w20, #0, LBB0_11
; %bb.6:
	cbnz	w0, LBB0_4
; %bb.7:
	ldr	w8, [sp, #12]
	mov	w2, #160
	bfxil	w2, w8, #0, #4
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8501
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_4
; %bb.8:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8513
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_4
; %bb.9:
	ldr	w8, [sp, #12]
	mov	w2, #128
	bfxil	w2, w8, #0, #6
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8513
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_4
; %bb.10:
	mov	x0, x19
	mov	w1, #8482
	mov	w2, #112
	b	LBB0_16
LBB0_11:
	cbnz	w0, LBB0_4
; %bb.12:
	ldr	w8, [sp, #12]
	mov	w2, #112
	bfxil	w2, w8, #0, #4
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8501
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_4
; %bb.13:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8513
	bl	_lgdt3306a_read_reg
	cbnz	w0, LBB0_4
; %bb.14:
	ldr	w8, [sp, #12]
	mov	w2, #64
	bfxil	w2, w8, #0, #6
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8513
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_4
; %bb.15:
	mov	x0, x19
	mov	w1, #8482
	mov	w2, #64
LBB0_16:
	bl	_lgdt3306a_write_reg
	cbnz	w0, LBB0_4
; %bb.17:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snrRef=%d mainStrong=%d aiccrejStatus=%d currChDiffACQ=0x%x\n"

	.no_dead_strip	_lgdt3306a_pre_monitoring
.subsections_via_symbols
