	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3306a_set_vsb
_lgdt3306a_set_vsb:                     ## @lgdt3306a_set_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, %r12
	leaq	L_.str(%rip), %rdi
	callq	_dbg_info
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_lgdt3306a_read_reg
	movl	$243, %edx
	andl	-36(%rbp), %edx
	orl	$4, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	%r12, %rdi
	movl	$8, %esi
	movl	$128, %edx
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_lgdt3306a_read_reg
	movl	$227, %edx
	andl	-36(%rbp), %edx
	orl	$12, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_lgdt3306a_read_reg
	movl	$252, %edx
	andl	-36(%rbp), %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	$13, %esi
	callq	_lgdt3306a_read_reg
	movl	$191, %edx
	andl	-36(%rbp), %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$13, %esi
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	%r12, %rdi
	movl	$36, %esi
	movl	$90, %edx
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	movl	$46, %esi
	movl	$90, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$47, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$48, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$43, %esi
	movl	$54, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$44, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$45, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$40, %esi
	movl	$42, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$41, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$42, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$37, %esi
	movl	$6, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$38, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$39, %esi
	xorl	%edx, %edx
	callq	_lgdt3306a_write_reg
	leaq	-36(%rbp), %r14
	movq	%r12, %rdi
	movl	$30, %esi
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	-36(%rbp), %edx
	andl	$15, %edx
	orl	$160, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$30, %esi
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$34, %esi
	movl	$8, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$35, %esi
	movl	$255, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8479, %esi                     ## imm = 0x211F
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	$239, %edx
	andl	-36(%rbp), %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$8479, %esi                     ## imm = 0x211F
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8563, %esi                     ## imm = 0x2173
	movl	$1, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$4193, %esi                     ## imm = 0x1061
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	$248, %r15d
	movl	-36(%rbp), %edx
	andl	%r15d, %edx
	orl	$4, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$4193, %esi                     ## imm = 0x1061
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$4157, %esi                     ## imm = 0x103D
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	$207, %edx
	andl	-36(%rbp), %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$4157, %esi                     ## imm = 0x103D
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8482, %esi                     ## imm = 0x2122
	movl	$64, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8513, %esi                     ## imm = 0x2141
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	-36(%rbp), %edx
	andl	$63, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$8513, %esi                     ## imm = 0x2141
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8501, %esi                     ## imm = 0x2135
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	-36(%rbp), %edx
	andl	$15, %edx
	orl	$112, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$8501, %esi                     ## imm = 0x2135
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$3, %esi
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	$247, %edx
	andl	-36(%rbp), %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$28, %esi
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	-36(%rbp), %edx
	andl	$127, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$28, %esi
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8569, %esi                     ## imm = 0x2179
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	movl	-36(%rbp), %edx
	andl	%r15d, %edx
	movl	%edx, -36(%rbp)
	movq	%r12, %rdi
	movl	$8569, %esi                     ## imm = 0x2179
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	movl	$8570, %esi                     ## imm = 0x217A
	movq	%r14, %rdx
	callq	_lgdt3306a_read_reg
	andl	-36(%rbp), %r15d
	movl	%r15d, -36(%rbp)
	movq	%r12, %rdi
	movl	$8570, %esi                     ## imm = 0x217A
	movl	%r15d, %edx
	callq	_lgdt3306a_write_reg
	movq	%r12, %rdi
	callq	_lgdt3306a_soft_reset
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_dbg_info
LBB0_8:
	movl	%ebx, %eax
	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	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"complete\n"

	.no_dead_strip	_lgdt3306a_set_vsb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt3306a_set_vsb
_lgdt3306a_set_vsb:                     ; @lgdt3306a_set_vsb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
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, #2
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w9, #243
	and	w8, w8, w9
	orr	w2, w8, #0x4
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #2
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.1:
	mov	x0, x19
	mov	w1, #8
	mov	w2, #128
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.2:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #9
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w9, #227
	and	w8, w8, w9
	orr	w2, w8, #0xc
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #9
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.3:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #9
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	and	w2, w8, #0xfc
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #9
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.4:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #13
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w9, #191
	and	w2, w8, w9
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #13
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.5:
	mov	x0, x19
	mov	w1, #36
	mov	w2, #90
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.6:
	mov	x0, x19
	mov	w1, #46
	mov	w2, #90
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #47
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #48
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #43
	mov	w2, #54
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #44
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #45
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #40
	mov	w2, #42
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #41
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #42
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #37
	mov	w2, #6
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #38
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #39
	mov	w2, #0
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #30
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w2, #160
	bfxil	w2, w8, #0, #4
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #30
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #34
	mov	w2, #8
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #35
	mov	w2, #255
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8479
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w9, #239
	and	w2, w8, w9
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8479
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #8563
	mov	w2, #1
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #4193
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	and	w8, w8, #0xf8
	orr	w2, w8, #0x4
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #4193
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #4157
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w9, #207
	and	w2, w8, w9
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #4157
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	mov	w1, #8482
	mov	w2, #64
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8513
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	and	w2, w8, #0x3f
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8513
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8501
	bl	_lgdt3306a_read_reg
	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
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #3
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	mov	w9, #247
	and	w2, w8, w9
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #3
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #28
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	and	w2, w8, #0x7f
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #28
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8569
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	and	w2, w8, #0xf8
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8569
	bl	_lgdt3306a_write_reg
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #8570
	bl	_lgdt3306a_read_reg
	ldr	w8, [sp, #12]
	and	w2, w8, #0xf8
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #8570
	bl	_lgdt3306a_write_reg
	mov	x0, x19
	bl	_lgdt3306a_soft_reset
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg_info
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"complete\n"

	.no_dead_strip	_lgdt3306a_set_vsb
.subsections_via_symbols
