	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad1988_parse_auto_config
_ad1988_parse_auto_config:              ## @ad1988_parse_auto_config
	.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
	callq	_alloc_ad_spec
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%r14), %rdi
	movabsq	$141733920800, %rax             ## imm = 0x2100000020
	movq	%rax, (%rdi)
	movl	$16, 8(%rdi)
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_set_beep_amp
	movq	%r14, %rdi
	callq	_ad198x_parse_auto_config
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_ad1988_add_spdif_mux_ctl
	testl	%eax, %eax
	jns	LBB0_5
LBB0_4:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_snd_hda_gen_free
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.no_dead_strip	_ad1988_parse_auto_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ad1988_parse_auto_config
lCPI0_0:
	.long	32                              ; 0x20
	.long	33                              ; 0x21
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ad1988_parse_auto_config:              ; @ad1988_parse_auto_config
	.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
	bl	_alloc_ad_spec
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x0, [x19]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	mov	w8, #16
	str	w8, [x0, #8]
Lloh2:
	adrp	x8, _HDA_OUTPUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HDA_OUTPUT@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	w1, #16
	mov	w2, #0
	bl	_set_beep_amp
	mov	x0, x19
	bl	_ad198x_parse_auto_config
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_ad1988_add_spdif_mux_ctl
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	w20, #0
	b	LBB0_6
LBB0_4:
	mov	x20, x0
	b	LBB0_6
LBB0_5:
	mov	x20, x0
	mov	x0, x19
	bl	_snd_hda_gen_free
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.no_dead_strip	_ad1988_parse_auto_config
.subsections_via_symbols
