	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gemtek_unmute
_gemtek_unmute:                         ## @gemtek_unmute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, 16(%rdi)
	movq	_hardmute@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gemtek_setfreq                 ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_mutex_lock
	movl	4(%rbx), %edi
	callq	_inb_p
	sarl	$5, %eax
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	_outb_p
	movq	_SHORT_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hardmute,8,3                   ## @hardmute
	.comm	_SHORT_DELAY,4,2                ## @SHORT_DELAY
	.no_dead_strip	_gemtek_unmute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gemtek_unmute
_gemtek_unmute:                         ; @gemtek_unmute
	.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
	str	xzr, [x0, #16]
Lloh0:
	adrp	x8, _hardmute@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hardmute@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gemtek_setfreq
LBB0_2:
	mov	x0, x19
	bl	_mutex_lock
	ldr	w0, [x19, #4]
	bl	_inb_p
	asr	w0, w0, #5
	ldr	w1, [x19, #4]
	bl	_outb_p
Lloh3:
	adrp	x8, _SHORT_DELAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHORT_DELAY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_udelay
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_hardmute,8,3                   ; @hardmute
	.comm	_SHORT_DELAY,4,2                ; @SHORT_DELAY
	.no_dead_strip	_gemtek_unmute
.subsections_via_symbols
