	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_multiio_pins
_count_multiio_pins:                    ## @count_multiio_pins
	.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	(%rdi), %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_snd_hda_codec_get_pincfg
	movl	%eax, %edi
	callq	_get_defcfg_location
	movl	%eax, %r15d
	movq	_AUTO_PIN_LINE_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_AUTO_PIN_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r12d, %r12d
	cmpl	%ecx, %r13d
	jge	LBB0_1
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %eax
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AUTO_PIN_MIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r13), %edx
	cmpl	%ecx, %r13d
	movl	%edx, %r13d
	jle	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rcx
	cmpl	%r13d, (%rcx,%r14,8)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	4(%rcx,%r14,8), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_can_be_multiio_pin
	cmpq	$1, %rax
	sbbl	$-1, %r12d
	movl	(%rbx), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTO_PIN_LINE_IN,4,2           ## @AUTO_PIN_LINE_IN
	.comm	_AUTO_PIN_MIC,4,2               ## @AUTO_PIN_MIC
	.no_dead_strip	_count_multiio_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_multiio_pins
_count_multiio_pins:                    ; @count_multiio_pins
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x22, [x0]
	bl	_snd_hda_codec_get_pincfg
	bl	_get_defcfg_location
Lloh0:
	adrp	x8, _AUTO_PIN_LINE_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTO_PIN_LINE_IN@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x23, _AUTO_PIN_MIC@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AUTO_PIN_MIC@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w24, w9
	b.ge	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x0
	mov	w21, #0
	ldr	w8, [x22]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x23]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w10, w24, #1
	cmp	w24, w9
	mov	x24, x10
	b.le	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, #0
	mov	x26, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x26, x26, #1
	add	x25, x25, #8
	cmp	x26, w8, sxtw
	b.ge	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x22, #8]
	ldr	w10, [x9, x25]
	cmp	w10, w24
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x9, x25
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_can_be_multiio_pin
	cmp	x0, #0
	cinc	w21, w21, ne
	ldr	w8, [x22]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTO_PIN_LINE_IN,4,2           ; @AUTO_PIN_LINE_IN
	.comm	_AUTO_PIN_MIC,4,2               ; @AUTO_PIN_MIC
	.no_dead_strip	_count_multiio_pins
.subsections_via_symbols
