	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad1888_update_jacks
_ad1888_update_jacks:                   ## @ad1888_update_jacks
	.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
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_is_shared_linein
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$12, %ebx
LBB0_3:
	movq	%r14, %rdi
	callq	_is_shared_micin
	movzwl	%bx, %ecx
	movl	%ecx, %edx
	orl	$2048, %edx                     ## imm = 0x800
	testq	%rax, %rax
	cmovnel	%edx, %ecx
	movq	_AC97_AD_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%cx, %ecx
	movq	%r14, %rdi
	movl	$6144, %edx                     ## imm = 0x1800
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_ac97_update_bits           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_AD_MISC,4,2               ## @AC97_AD_MISC
	.no_dead_strip	_ad1888_update_jacks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad1888_update_jacks
_ad1888_update_jacks:                   ; @ad1888_update_jacks
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_is_shared_linein
	cmp	x0, #0
	cset	w8, ne
	lsl	w20, w8, #12
LBB0_3:
	mov	x0, x19
	bl	_is_shared_micin
	orr	w8, w20, #0x800
	cmp	x0, #0
Lloh0:
	adrp	x9, _AC97_AD_MISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AC97_AD_MISC@GOTPAGEOFF]
	csel	w3, w20, w8, eq
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #6144
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_ac97_update_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_AD_MISC,4,2               ; @AC97_AD_MISC
	.no_dead_strip	_ad1888_update_jacks
.subsections_via_symbols
