	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc_headset_mode_mic_in
_alc_headset_mode_mic_in:               ## @alc_headset_mode_mic_in
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$283903592, %eax                ## imm = 0x10EC0668
	je	LBB0_5
## %bb.1:
	cmpl	$283902610, %eax                ## imm = 0x10EC0292
	je	LBB0_4
## %bb.2:
	cmpl	$283902595, %eax                ## imm = 0x10EC0283
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	movl	$69, %esi
	movl	$50217, %edx                    ## imm = 0xC429
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_snd_hda_set_pin_ctl_cache
	movq	%rbx, %rdi
	movl	$53, %esi
	callq	_alc_read_coef_idx
	orl	$16384, %eax                    ## imm = 0x4000
	movq	%rbx, %rdi
	movl	$53, %esi
	movl	%eax, %edx
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	$6, %esi
	movl	$8448, %edx                     ## imm = 0x2100
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	$26, %esi
	movl	$33, %edx
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	$38, %esi
	movl	$140, %edx
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$1, %edx
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_snd_hda_set_pin_ctl_cache
	movq	%rbx, %rdi
	movl	$183, %esi
	movl	$32811, %edx                    ## imm = 0x802B
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	$181, %esi
	movl	$4160, %edx                     ## imm = 0x1040
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	$195, %esi
	callq	_alc_read_coef_idx
	orl	$4096, %eax                     ## imm = 0x1000
	movq	%rbx, %rdi
	movl	$195, %esi
	movl	%eax, %edx
LBB0_6:
	callq	_alc_write_coef_idx
	movq	_PIN_VREF50@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_snd_hda_set_pin_ctl_cache
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_snd_hda_set_pin_ctl_cache
	movq	%rbx, %rdi
	movl	$25, %esi
	movl	$41480, %edx                    ## imm = 0xA208
	callq	_alc_write_coef_idx
	movq	%rbx, %rdi
	movl	$46, %esi
	movl	$44272, %edx                    ## imm = 0xACF0
	callq	_alc_write_coef_idx
LBB0_7:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_printdd                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PIN_VREF50,4,2                 ## @PIN_VREF50
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Headset jack set to mic-in mode.\n"

	.no_dead_strip	_alc_headset_mode_mic_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc_headset_mode_mic_in
_alc_headset_mode_mic_in:               ; @alc_headset_mode_mic_in
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	mov	w9, #1640
	movk	w9, #4332, lsl #16
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
	mov	w9, #658
	movk	w9, #4332, lsl #16
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.2:
	mov	w9, #643
	movk	w9, #4332, lsl #16
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	mov	w1, #69
	mov	w2, #50217
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_snd_hda_set_pin_ctl_cache
	mov	x0, x19
	mov	w1, #53
	bl	_alc_read_coef_idx
	orr	w2, w0, #0x4000
	mov	x0, x19
	mov	w1, #53
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	w1, #6
	mov	w2, #8448
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	w1, #26
	mov	w2, #33
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	w1, #38
	mov	w2, #140
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	w1, #17
	mov	w2, #1
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_snd_hda_set_pin_ctl_cache
	mov	x0, x19
	mov	w1, #183
	mov	w2, #32811
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	w1, #181
	mov	w2, #4160
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	w1, #195
	bl	_alc_read_coef_idx
	orr	w2, w0, #0x1000
	mov	x0, x19
	mov	w1, #195
LBB0_5:
	bl	_alc_write_coef_idx
Lloh0:
	adrp	x8, _PIN_VREF50@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIN_VREF50@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_snd_hda_set_pin_ctl_cache
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_snd_hda_set_pin_ctl_cache
	mov	x0, x19
	mov	w1, #25
	mov	w2, #41480
	bl	_alc_write_coef_idx
	mov	x0, x19
	mov	w1, #46
	mov	w2, #44272
	bl	_alc_write_coef_idx
LBB0_7:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_printdd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PIN_VREF50,4,2                 ; @PIN_VREF50
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Headset jack set to mic-in mode.\n"

	.no_dead_strip	_alc_headset_mode_mic_in
.subsections_via_symbols
