	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_get_input_pin_attr     ## -- Begin function snd_hda_get_input_pin_attr
	.p2align	4, 0x90
_snd_hda_get_input_pin_attr:            ## @snd_hda_get_input_pin_attr
	.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
	movl	%edi, %ebx
	callq	_get_defcfg_location
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_get_defcfg_connect
	movq	_AC_JACK_PORT_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_INPUT_PIN_ATTR_UNUSED@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_2:
	movq	_AC_JACK_PORT_FIXED@GOTPCREL(%rip), %rdx
	movq	_INPUT_PIN_ATTR_INT@GOTPCREL(%rip), %rcx
	cmpl	(%rdx), %eax
	je	LBB0_12
## %bb.3:
	movq	_AC_JACK_PORT_BOTH@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_12
## %bb.4:
	movl	%r14d, %eax
	andl	$48, %eax
	movq	_AC_JACK_LOC_INTERNAL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_12
## %bb.5:
	movq	_AC_JACK_LOC_SEPARATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movq	_INPUT_PIN_ATTR_DOCK@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_7:
	movq	_AC_JACK_LOC_REAR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_9
## %bb.8:
	movq	_INPUT_PIN_ATTR_REAR@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_AC_JACK_LOC_FRONT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_10
## %bb.11:
	movq	_INPUT_PIN_ATTR_FRONT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_INPUT_PIN_ATTR_NORMAL@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_JACK_PORT_NONE,4,2          ## @AC_JACK_PORT_NONE
	.comm	_INPUT_PIN_ATTR_UNUSED,4,2      ## @INPUT_PIN_ATTR_UNUSED
	.comm	_AC_JACK_PORT_FIXED,4,2         ## @AC_JACK_PORT_FIXED
	.comm	_AC_JACK_PORT_BOTH,4,2          ## @AC_JACK_PORT_BOTH
	.comm	_INPUT_PIN_ATTR_INT,4,2         ## @INPUT_PIN_ATTR_INT
	.comm	_AC_JACK_LOC_INTERNAL,4,2       ## @AC_JACK_LOC_INTERNAL
	.comm	_AC_JACK_LOC_SEPARATE,4,2       ## @AC_JACK_LOC_SEPARATE
	.comm	_INPUT_PIN_ATTR_DOCK,4,2        ## @INPUT_PIN_ATTR_DOCK
	.comm	_AC_JACK_LOC_REAR,4,2           ## @AC_JACK_LOC_REAR
	.comm	_INPUT_PIN_ATTR_REAR,4,2        ## @INPUT_PIN_ATTR_REAR
	.comm	_AC_JACK_LOC_FRONT,4,2          ## @AC_JACK_LOC_FRONT
	.comm	_INPUT_PIN_ATTR_FRONT,4,2       ## @INPUT_PIN_ATTR_FRONT
	.comm	_INPUT_PIN_ATTR_NORMAL,4,2      ## @INPUT_PIN_ATTR_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_get_input_pin_attr     ; -- Begin function snd_hda_get_input_pin_attr
	.p2align	2
_snd_hda_get_input_pin_attr:            ; @snd_hda_get_input_pin_attr
	.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	x20, x0
	bl	_get_defcfg_location
	mov	x19, x0
	mov	x0, x20
	bl	_get_defcfg_connect
Lloh0:
	adrp	x8, _AC_JACK_PORT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_JACK_PORT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _INPUT_PIN_ATTR_UNUSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INPUT_PIN_ATTR_UNUSED@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _AC_JACK_PORT_FIXED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AC_JACK_PORT_FIXED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _AC_JACK_PORT_BOTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AC_JACK_PORT_BOTH@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_4
; %bb.3:
	and	w8, w19, #0x30
Lloh11:
	adrp	x9, _AC_JACK_LOC_INTERNAL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AC_JACK_LOC_INTERNAL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
LBB0_4:
Lloh14:
	adrp	x8, _INPUT_PIN_ATTR_INT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INPUT_PIN_ATTR_INT@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh16:
	adrp	x9, _AC_JACK_LOC_SEPARATE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AC_JACK_LOC_SEPARATE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
Lloh19:
	adrp	x8, _INPUT_PIN_ATTR_DOCK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INPUT_PIN_ATTR_DOCK@GOTPAGEOFF]
	b	LBB0_5
LBB0_8:
Lloh21:
	adrp	x8, _AC_JACK_LOC_REAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AC_JACK_LOC_REAR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_10
; %bb.9:
Lloh24:
	adrp	x8, _INPUT_PIN_ATTR_REAR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _INPUT_PIN_ATTR_REAR@GOTPAGEOFF]
	b	LBB0_5
LBB0_10:
Lloh26:
	adrp	x8, _AC_JACK_LOC_FRONT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AC_JACK_LOC_FRONT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _INPUT_PIN_ATTR_NORMAL@GOTPAGE
Lloh30:
	ldr	x9, [x9, _INPUT_PIN_ATTR_NORMAL@GOTPAGEOFF]
Lloh31:
	adrp	x10, _INPUT_PIN_ATTR_FRONT@GOTPAGE
Lloh32:
	ldr	x10, [x10, _INPUT_PIN_ATTR_FRONT@GOTPAGEOFF]
	cmp	w19, w8
	csel	x8, x10, x9, eq
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_JACK_PORT_NONE,4,2          ; @AC_JACK_PORT_NONE
	.comm	_INPUT_PIN_ATTR_UNUSED,4,2      ; @INPUT_PIN_ATTR_UNUSED
	.comm	_AC_JACK_PORT_FIXED,4,2         ; @AC_JACK_PORT_FIXED
	.comm	_AC_JACK_PORT_BOTH,4,2          ; @AC_JACK_PORT_BOTH
	.comm	_INPUT_PIN_ATTR_INT,4,2         ; @INPUT_PIN_ATTR_INT
	.comm	_AC_JACK_LOC_INTERNAL,4,2       ; @AC_JACK_LOC_INTERNAL
	.comm	_AC_JACK_LOC_SEPARATE,4,2       ; @AC_JACK_LOC_SEPARATE
	.comm	_INPUT_PIN_ATTR_DOCK,4,2        ; @INPUT_PIN_ATTR_DOCK
	.comm	_AC_JACK_LOC_REAR,4,2           ; @AC_JACK_LOC_REAR
	.comm	_INPUT_PIN_ATTR_REAR,4,2        ; @INPUT_PIN_ATTR_REAR
	.comm	_AC_JACK_LOC_FRONT,4,2          ; @AC_JACK_LOC_FRONT
	.comm	_INPUT_PIN_ATTR_FRONT,4,2       ; @INPUT_PIN_ATTR_FRONT
	.comm	_INPUT_PIN_ATTR_NORMAL,4,2      ; @INPUT_PIN_ATTR_NORMAL
.subsections_via_symbols
