	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gemtek_mute
_gemtek_mute:                           ## @gemtek_mute
	.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, %rbx
	movl	$1, (%rdi)
	movq	_hardmute@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_BU2614_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	_BU2614_FMES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	_BU2614_SWIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	_BU2614_SWAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	_BU2614_FMUN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	_BU2614_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	_BU2614_STDF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEMTEK_PLL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_gemtek_bu2614_set
	movq	_BU2614_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_gemtek_bu2614_set
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gemtek_bu2614_transmit         ## TAILCALL
LBB0_2:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	8(%rbx), %edi
	callq	_inb_p
	sarl	$5, %eax
	movq	_GEMTEK_MT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_outb_p
	movq	_SHORT_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hardmute,8,3                   ## @hardmute
	.comm	_BU2614_PORT,4,2                ## @BU2614_PORT
	.comm	_BU2614_FMES,4,2                ## @BU2614_FMES
	.comm	_BU2614_SWIN,4,2                ## @BU2614_SWIN
	.comm	_BU2614_SWAL,4,2                ## @BU2614_SWAL
	.comm	_BU2614_FMUN,4,2                ## @BU2614_FMUN
	.comm	_BU2614_TEST,4,2                ## @BU2614_TEST
	.comm	_BU2614_STDF,4,2                ## @BU2614_STDF
	.comm	_GEMTEK_PLL_OFF,4,2             ## @GEMTEK_PLL_OFF
	.comm	_BU2614_FREQ,4,2                ## @BU2614_FREQ
	.comm	_GEMTEK_MT,4,2                  ## @GEMTEK_MT
	.comm	_SHORT_DELAY,4,2                ## @SHORT_DELAY
	.no_dead_strip	_gemtek_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gemtek_mute
_gemtek_mute:                           ; @gemtek_mute
	.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
	mov	w8, #1
	str	w8, [x0]
Lloh0:
	adrp	x8, _hardmute@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hardmute@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BU2614_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BU2614_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
Lloh6:
	adrp	x8, _BU2614_FMES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BU2614_FMES@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
Lloh9:
	adrp	x8, _BU2614_SWIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BU2614_SWIN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
Lloh12:
	adrp	x8, _BU2614_SWAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BU2614_SWAL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
Lloh15:
	adrp	x8, _BU2614_FMUN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BU2614_FMUN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
Lloh18:
	adrp	x8, _BU2614_TEST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BU2614_TEST@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
Lloh21:
	adrp	x8, _BU2614_STDF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BU2614_STDF@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _GEMTEK_PLL_OFF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GEMTEK_PLL_OFF@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_gemtek_bu2614_set
Lloh27:
	adrp	x8, _BU2614_FREQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BU2614_FREQ@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_gemtek_bu2614_set
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gemtek_bu2614_transmit
LBB0_2:
	add	x20, x19, #4
	mov	x0, x20
	bl	_mutex_lock
	ldr	w0, [x19, #8]
	bl	_inb_p
Lloh30:
	adrp	x8, _GEMTEK_MT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GEMTEK_MT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w0, w8, w0, asr #5
	ldr	w1, [x19, #8]
	bl	_outb_p
Lloh33:
	adrp	x8, _SHORT_DELAY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SHORT_DELAY@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_udelay
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_hardmute,8,3                   ; @hardmute
	.comm	_BU2614_PORT,4,2                ; @BU2614_PORT
	.comm	_BU2614_FMES,4,2                ; @BU2614_FMES
	.comm	_BU2614_SWIN,4,2                ; @BU2614_SWIN
	.comm	_BU2614_SWAL,4,2                ; @BU2614_SWAL
	.comm	_BU2614_FMUN,4,2                ; @BU2614_FMUN
	.comm	_BU2614_TEST,4,2                ; @BU2614_TEST
	.comm	_BU2614_STDF,4,2                ; @BU2614_STDF
	.comm	_GEMTEK_PLL_OFF,4,2             ; @GEMTEK_PLL_OFF
	.comm	_BU2614_FREQ,4,2                ; @BU2614_FREQ
	.comm	_GEMTEK_MT,4,2                  ; @GEMTEK_MT
	.comm	_SHORT_DELAY,4,2                ; @SHORT_DELAY
	.no_dead_strip	_gemtek_mute
.subsections_via_symbols
