	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_indep_hp_ctls
_create_indep_hp_ctls:                  ## @create_indep_hp_ctls
	.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), %rdi
	xorl	%ebx, %ebx
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	40(%rdi), %rax
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	24(%rdi,%rdx,8), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	$0, (%rdi)
	movq	%rax, 8(%rdi)
	movq	_indep_hp_ctl@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_snd_hda_gen_add_kctl
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	$0, 16(%rdi)
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTO_PIN_HP_OUT,8,3            ## @AUTO_PIN_HP_OUT
	.comm	_indep_hp_ctl,4,2               ## @indep_hp_ctl
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_create_indep_hp_ctls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_indep_hp_ctls
_create_indep_hp_ctls:                  ; @create_indep_hp_ctls
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x9, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #24
	mov	w11, #32
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	x8, [x0, x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	str	wzr, [x0]
	str	x8, [x0, #8]
Lloh3:
	adrp	x2, _indep_hp_ctl@GOTPAGE
Lloh4:
	ldr	x2, [x2, _indep_hp_ctl@GOTPAGEOFF]
	mov	x1, #0
	bl	_snd_hda_gen_add_kctl
	mov	w8, #0
	cbnz	w0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_5
LBB0_4:
	str	xzr, [x0, #16]
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTO_PIN_HP_OUT,8,3            ; @AUTO_PIN_HP_OUT
	.comm	_indep_hp_ctl,4,2               ; @indep_hp_ctl
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_create_indep_hp_ctls
.subsections_via_symbols
