	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_pincap_validity
_check_pincap_validity:                 ## @check_pincap_validity
	.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
	movl	%edx, %ebx
	callq	_snd_hda_query_pin_caps
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_4
## %bb.3:
	movq	_AC_PINCAP_OUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	movb	$1, %al
	jmp	LBB0_6
LBB0_4:
	movq	_AC_PINCAP_IN@GOTPCREL(%rip), %rcx
LBB0_5:
	testl	%eax, (%rcx)
	setne	%al
LBB0_6:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_PINCAP_OUT,4,2              ## @AC_PINCAP_OUT
	.comm	_AC_PINCAP_IN,4,2               ## @AC_PINCAP_IN
	.no_dead_strip	_check_pincap_validity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_pincap_validity
_check_pincap_validity:                 ; @check_pincap_validity
	.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, x2
	bl	_snd_hda_query_pin_caps
	cbz	w0, LBB0_3
; %bb.1:
	sub	w8, w19, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _AC_PINCAP_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_PINCAP_OUT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _AC_PINCAP_IN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AC_PINCAP_IN@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_PINCAP_OUT,4,2              ; @AC_PINCAP_OUT
	.comm	_AC_PINCAP_IN,4,2               ; @AC_PINCAP_IN
	.no_dead_strip	_check_pincap_validity
.subsections_via_symbols
