	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_inv_dmic_pin
_is_inv_dmic_pin:                       ## @is_inv_dmic_pin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	xorl	%eax, %eax
	cmpl	$0, (%rdx)
	je	LBB0_8
## %bb.1:
	movl	8(%rdx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.2:
	movq	16(%rdx), %rax
	shlq	$4, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rax,%rdx)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.5:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rax,%rdx), %rcx
	movq	_AUTO_PIN_MIC@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:
	callq	_snd_hda_codec_get_pincfg
	movl	%eax, %edi
	callq	_snd_hda_get_input_pin_attr
	movq	%rax, %rcx
	movq	_INPUT_PIN_ATTR_INT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTO_PIN_MIC,8,3               ## @AUTO_PIN_MIC
	.comm	_INPUT_PIN_ATTR_INT,8,3         ## @INPUT_PIN_ATTR_INT
	.no_dead_strip	_is_inv_dmic_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_inv_dmic_pin
_is_inv_dmic_pin:                       ; @is_inv_dmic_pin
	.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	x9, [x0]
	ldr	w8, [x9]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	w8, [x9, #8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x9, [x9, #16]
	add	x9, x9, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-8]
	cmp	x10, x1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	ldr	x8, [x9]
Lloh0:
	adrp	x9, _AUTO_PIN_MIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUTO_PIN_MIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	bl	_snd_hda_codec_get_pincfg
	bl	_snd_hda_get_input_pin_attr
Lloh3:
	adrp	x8, _INPUT_PIN_ATTR_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INPUT_PIN_ATTR_INT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTO_PIN_MIC,8,3               ; @AUTO_PIN_MIC
	.comm	_INPUT_PIN_ATTR_INT,8,3         ; @INPUT_PIN_ATTR_INT
	.no_dead_strip	_is_inv_dmic_pin
.subsections_via_symbols
