	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fmi_set_pins
_fmi_set_pins:                          ## @fmi_set_pins
	.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
	xorl	%ebx, %ebx
	cmpl	$0, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_FMI_BIT_VOL_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movq	_FMI_BIT_TUN_STRQ@GOTPCREL(%rip), %rax
	movq	_LM7000_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%esi, %ecx
	je	LBB0_4
## %bb.3:
	movq	_FMI_BIT_TUN_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	(%rax), %ebx
	movq	_LM7000_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_6
## %bb.5:
	movq	_FMI_BIT_TUN_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	orl	%ecx, %ebx
	movq	_LM7000_CE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	je	LBB0_8
## %bb.7:
	movq	_FMI_BIT_TUN_CE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_8:
	orl	%esi, %eax
	orl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	4(%r14), %esi
	movl	%ebx, %edi
	callq	_outb_p
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FMI_BIT_TUN_STRQ,4,2           ## @FMI_BIT_TUN_STRQ
	.comm	_FMI_BIT_VOL_SW,4,2             ## @FMI_BIT_VOL_SW
	.comm	_LM7000_DATA,4,2                ## @LM7000_DATA
	.comm	_FMI_BIT_TUN_DATA,4,2           ## @FMI_BIT_TUN_DATA
	.comm	_LM7000_CLK,4,2                 ## @LM7000_CLK
	.comm	_FMI_BIT_TUN_CLK,4,2            ## @FMI_BIT_TUN_CLK
	.comm	_LM7000_CE,4,2                  ## @LM7000_CE
	.comm	_FMI_BIT_TUN_CE,4,2             ## @FMI_BIT_TUN_CE
	.no_dead_strip	_fmi_set_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmi_set_pins
_fmi_set_pins:                          ; @fmi_set_pins
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _FMI_BIT_TUN_STRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FMI_BIT_TUN_STRQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
Lloh3:
	adrp	x10, _FMI_BIT_VOL_SW@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FMI_BIT_VOL_SW@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w9, w10, wzr, eq
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _LM7000_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LM7000_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _FMI_BIT_TUN_DATA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FMI_BIT_TUN_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _LM7000_CLK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LM7000_CLK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _FMI_BIT_TUN_CLK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _FMI_BIT_TUN_CLK@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _LM7000_CE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LM7000_CE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _FMI_BIT_TUN_CE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _FMI_BIT_TUN_CE@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w20, w8, w9
	bl	_mutex_lock
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_outb_p
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FMI_BIT_TUN_STRQ,4,2           ; @FMI_BIT_TUN_STRQ
	.comm	_FMI_BIT_VOL_SW,4,2             ; @FMI_BIT_VOL_SW
	.comm	_LM7000_DATA,4,2                ; @LM7000_DATA
	.comm	_FMI_BIT_TUN_DATA,4,2           ; @FMI_BIT_TUN_DATA
	.comm	_LM7000_CLK,4,2                 ; @LM7000_CLK
	.comm	_FMI_BIT_TUN_CLK,4,2            ; @FMI_BIT_TUN_CLK
	.comm	_LM7000_CE,4,2                  ; @LM7000_CE
	.comm	_FMI_BIT_TUN_CE,4,2             ; @FMI_BIT_TUN_CE
	.no_dead_strip	_fmi_set_pins
.subsections_via_symbols
