	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3306a_mpeg_tristate
_lgdt3306a_mpeg_tristate:               ## @lgdt3306a_mpeg_tristate
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_dbg_info
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_lgdt3306a_read_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movl	$-169, %edx
	andl	-20(%rbp), %edx
	movl	%edx, -20(%rbp)
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_lgdt3306a_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	movl	$3, %esi
	movl	$6, %edx
	movl	$1, %ecx
	callq	_lgdt3306a_set_reg_bit
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	movl	$3, %esi
	movl	$6, %edx
	xorl	%ecx, %ecx
	callq	_lgdt3306a_set_reg_bit
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_lgdt3306a_read_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movl	$168, %edx
	orl	-20(%rbp), %edx
	movl	%edx, -20(%rbp)
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_lgdt3306a_write_reg
LBB0_7:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_chkerr
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%d)\n"

	.no_dead_strip	_lgdt3306a_mpeg_tristate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt3306a_mpeg_tristate
_lgdt3306a_mpeg_tristate:               ; @lgdt3306a_mpeg_tristate
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_info
	cbz	w20, LBB0_4
; %bb.1:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #112
	bl	_lgdt3306a_read_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	w8, [sp, #12]
	mov	w9, #-169
	and	w2, w8, w9
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #112
	bl	_lgdt3306a_write_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #6
	mov	w3, #1
	bl	_lgdt3306a_set_reg_bit
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #6
	mov	w3, #0
	bl	_lgdt3306a_set_reg_bit
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.5:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #112
	bl	_lgdt3306a_read_reg
	mov	x20, x0
	bl	_lg_chkerr
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	w8, [sp, #12]
	mov	w9, #168
	orr	w2, w8, w9
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #112
	bl	_lgdt3306a_write_reg
LBB0_7:
	mov	x20, x0
	bl	_lg_chkerr
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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%d)\n"

	.no_dead_strip	_lgdt3306a_mpeg_tristate
.subsections_via_symbols
