	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_mic_jack_mode_info
_hp_mic_jack_mode_info:                 ## @hp_mic_jack_mode_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movl	(%rbx), %r14d
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_get_out_jack_num_items
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_get_in_jack_num_items
                                        ## kill: def $eax killed $eax def $rax
	movq	_SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r12)
	movl	$1, (%r12)
	leal	(%rax,%r13), %edx
	movl	%edx, 4(%r12)
	movl	8(%r12), %ecx
	cmpl	%edx, %ecx
	jl	LBB0_2
## %bb.1:
	decl	%edx
	movl	%edx, 8(%r12)
	movl	%edx, %ecx
LBB0_2:
	movl	%ecx, %ebx
	subl	%r13d, %ebx
	jge	LBB0_6
## %bb.3:
	cmpl	$2, %r13d
	jl	LBB0_4
## %bb.5:
	movq	_out_jack_texts@GOTPCREL(%rip), %rdx
	movslq	%ecx, %rax
	shlq	$3, %rax
	addq	(%rdx), %rax
	jmp	LBB0_9
LBB0_6:
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_get_vref_caps
	movq	_vref_texts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_get_vref_idx
	leaq	(%r14,%rax,8), %rax
LBB0_9:
	movq	(%rax), %rsi
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
LBB0_10:
	movl	12(%r12), %edi
	callq	_strcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_out_jack_texts,8,3             ## @out_jack_texts
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Headphone Out"

	.comm	_vref_texts,8,3                 ## @vref_texts
L_.str.1:                               ## @.str.1
	.asciz	"Mic In"

	.no_dead_strip	_hp_mic_jack_mode_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp_mic_jack_mode_info
_hp_mic_jack_mode_info:                 ; @hp_mic_jack_mode_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldr	w21, [x21]
	mov	x1, x21
	bl	_get_out_jack_num_items
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_get_in_jack_num_items
Lloh0:
	adrp	x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	w10, #1
	ldr	w8, [x19, #8]
	add	w9, w0, w22
	cmp	w8, w9
	stp	w10, w9, [x19]
	b.lt	LBB0_2
; %bb.1:
	sub	w8, w9, #1
	str	w8, [x19, #8]
LBB0_2:
	subs	w23, w8, w22
	b.ge	LBB0_5
; %bb.3:
	cmp	w22, #2
	b.lt	LBB0_8
; %bb.4:
Lloh3:
	adrp	x9, _out_jack_texts@GOTPAGE
Lloh4:
	ldr	x9, [x9, _out_jack_texts@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x9, w8, sxtw #3
	b	LBB0_7
LBB0_5:
	cmp	w0, #2
	b.lt	LBB0_9
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	bl	_get_vref_caps
Lloh6:
	adrp	x8, _vref_texts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vref_texts@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	mov	x1, x23
	bl	_get_vref_idx
	add	x8, x20, x0, lsl #3
LBB0_7:
	ldr	x1, [x8]
	b	LBB0_10
LBB0_8:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	ldr	w0, [x19, #12]
	bl	_strcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_out_jack_texts,8,3             ; @out_jack_texts
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Headphone Out"

	.comm	_vref_texts,8,3                 ; @vref_texts
l_.str.1:                               ; @.str.1
	.asciz	"Mic In"

	.no_dead_strip	_hp_mic_jack_mode_info
.subsections_via_symbols
