	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3305_init
_lgdt3305_init:                         ## @lgdt3305_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_lg_dbg
	movq	(%r14), %rax
	movl	(%rax), %eax
	cmpl	$152, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$153, %eax
	jne	LBB0_5
## %bb.2:
	leaq	_lgdt3305_init.lgdt3304_init_data(%rip), %rbx
	jmp	LBB0_3
LBB0_4:
	leaq	_lgdt3305_init.lgdt3305_init_data(%rip), %rbx
LBB0_3:
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_lgdt3305_write_regs
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %edi
	callq	_lg_fail
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lgdt3305_soft_reset            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @lgdt3305_init.lgdt3304_init_data
_lgdt3305_init.lgdt3304_init_data:
	.long	136                             ## 0x88
	.long	3                               ## 0x3
	.long	13                              ## 0xd
	.long	2                               ## 0x2
	.long	14                              ## 0xe
	.long	2                               ## 0x2
	.long	140                             ## 0x8c
	.long	50                              ## 0x32
	.long	139                             ## 0x8b
	.long	196                             ## 0xc4
	.long	144                             ## 0x90
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	0                               ## 0x0
	.long	142                             ## 0x8e
	.long	0                               ## 0x0
	.long	141                             ## 0x8d
	.long	0                               ## 0x0
	.long	145                             ## 0x91
	.long	249                             ## 0xf9
	.long	274                             ## 0x112
	.long	23                              ## 0x17
	.long	275                             ## 0x113
	.long	21                              ## 0x15
	.long	276                             ## 0x114
	.long	24                              ## 0x18
	.long	277                             ## 0x115
	.long	255                             ## 0xff
	.long	278                             ## 0x116
	.long	60                              ## 0x3c
	.long	532                             ## 0x214
	.long	103                             ## 0x67
	.long	1060                            ## 0x424
	.long	141                             ## 0x8d
	.long	1063                            ## 0x427
	.long	18                              ## 0x12
	.long	1064                            ## 0x428
	.long	79                              ## 0x4f
	.long	132                             ## 0x84
	.long	128                             ## 0x80
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	778                             ## 0x30a
	.long	8                               ## 0x8
	.long	779                             ## 0x30b
	.long	155                             ## 0x9b
	.long	781                             ## 0x30d
	.long	0                               ## 0x0
	.long	782                             ## 0x30e
	.long	28                              ## 0x1c
	.long	788                             ## 0x314
	.long	225                             ## 0xe1
	.long	13                              ## 0xd
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.long	91                              ## 0x5b
	.long	128                             ## 0x80
	.long	91                              ## 0x5b

	.p2align	4                               ## @lgdt3305_init.lgdt3305_init_data
_lgdt3305_init.lgdt3305_init_data:
	.long	136                             ## 0x88
	.long	3                               ## 0x3
	.long	135                             ## 0x87
	.long	176                             ## 0xb0
	.long	134                             ## 0x86
	.long	1                               ## 0x1
	.long	137                             ## 0x89
	.long	111                             ## 0x6f
	.long	133                             ## 0x85
	.long	3                               ## 0x3
	.long	140                             ## 0x8c
	.long	50                              ## 0x32
	.long	139                             ## 0x8b
	.long	196                             ## 0xc4
	.long	144                             ## 0x90
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	0                               ## 0x0
	.long	142                             ## 0x8e
	.long	0                               ## 0x0
	.long	141                             ## 0x8d
	.long	0                               ## 0x0
	.long	145                             ## 0x91
	.long	121                             ## 0x79
	.long	147                             ## 0x93
	.long	50                              ## 0x32
	.long	146                             ## 0x92
	.long	196                             ## 0xc4
	.long	149                             ## 0x95
	.long	13                              ## 0xd
	.long	148                             ## 0x94
	.long	48                              ## 0x30
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	132                             ## 0x84
	.long	128                             ## 0x80
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	151                             ## 0x97
	.long	48                              ## 0x30
	.long	150                             ## 0x96
	.long	97                              ## 0x61
	.long	138                             ## 0x8a
	.long	255                             ## 0xff
	.long	128                             ## 0x80
	.long	27                              ## 0x1b

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_lgdt3305_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt3305_init
_lgdt3305_init:                         ; @lgdt3305_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lg_dbg
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #152
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #153
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x20, _lgdt3305_init.lgdt3304_init_data@PAGE
Lloh3:
	add	x20, x20, _lgdt3305_init.lgdt3304_init_data@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x20, _lgdt3305_init.lgdt3305_init_data@PAGE
Lloh5:
	add	x20, x20, _lgdt3305_init.lgdt3305_init_data@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_lgdt3305_write_regs
	mov	x20, x0
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	bl	_lg_fail
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lgdt3305_soft_reset
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @lgdt3305_init.lgdt3304_init_data
_lgdt3305_init.lgdt3304_init_data:
	.long	136                             ; 0x88
	.long	3                               ; 0x3
	.long	13                              ; 0xd
	.long	2                               ; 0x2
	.long	14                              ; 0xe
	.long	2                               ; 0x2
	.long	140                             ; 0x8c
	.long	50                              ; 0x32
	.long	139                             ; 0x8b
	.long	196                             ; 0xc4
	.long	144                             ; 0x90
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	0                               ; 0x0
	.long	142                             ; 0x8e
	.long	0                               ; 0x0
	.long	141                             ; 0x8d
	.long	0                               ; 0x0
	.long	145                             ; 0x91
	.long	249                             ; 0xf9
	.long	274                             ; 0x112
	.long	23                              ; 0x17
	.long	275                             ; 0x113
	.long	21                              ; 0x15
	.long	276                             ; 0x114
	.long	24                              ; 0x18
	.long	277                             ; 0x115
	.long	255                             ; 0xff
	.long	278                             ; 0x116
	.long	60                              ; 0x3c
	.long	532                             ; 0x214
	.long	103                             ; 0x67
	.long	1060                            ; 0x424
	.long	141                             ; 0x8d
	.long	1063                            ; 0x427
	.long	18                              ; 0x12
	.long	1064                            ; 0x428
	.long	79                              ; 0x4f
	.long	132                             ; 0x84
	.long	128                             ; 0x80
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	778                             ; 0x30a
	.long	8                               ; 0x8
	.long	779                             ; 0x30b
	.long	155                             ; 0x9b
	.long	781                             ; 0x30d
	.long	0                               ; 0x0
	.long	782                             ; 0x30e
	.long	28                              ; 0x1c
	.long	788                             ; 0x314
	.long	225                             ; 0xe1
	.long	13                              ; 0xd
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.long	91                              ; 0x5b
	.long	128                             ; 0x80
	.long	91                              ; 0x5b

	.p2align	2                               ; @lgdt3305_init.lgdt3305_init_data
_lgdt3305_init.lgdt3305_init_data:
	.long	136                             ; 0x88
	.long	3                               ; 0x3
	.long	135                             ; 0x87
	.long	176                             ; 0xb0
	.long	134                             ; 0x86
	.long	1                               ; 0x1
	.long	137                             ; 0x89
	.long	111                             ; 0x6f
	.long	133                             ; 0x85
	.long	3                               ; 0x3
	.long	140                             ; 0x8c
	.long	50                              ; 0x32
	.long	139                             ; 0x8b
	.long	196                             ; 0xc4
	.long	144                             ; 0x90
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	0                               ; 0x0
	.long	142                             ; 0x8e
	.long	0                               ; 0x0
	.long	141                             ; 0x8d
	.long	0                               ; 0x0
	.long	145                             ; 0x91
	.long	121                             ; 0x79
	.long	147                             ; 0x93
	.long	50                              ; 0x32
	.long	146                             ; 0x92
	.long	196                             ; 0xc4
	.long	149                             ; 0x95
	.long	13                              ; 0xd
	.long	148                             ; 0x94
	.long	48                              ; 0x30
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	132                             ; 0x84
	.long	128                             ; 0x80
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	151                             ; 0x97
	.long	48                              ; 0x30
	.long	150                             ; 0x96
	.long	97                              ; 0x61
	.long	138                             ; 0x8a
	.long	255                             ; 0xff
	.long	128                             ; 0x80
	.long	27                              ; 0x1b

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_lgdt3305_init
.subsections_via_symbols
