	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_input_pin_labels
_fill_input_pin_labels:                 ## @fill_input_pin_labels
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	cmpl	$0, 16(%r15)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	leaq	16(%r15), %r13
	movl	$1, %ebx
	xorl	%r12d, %r12d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	xorl	%edx, %edx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, (%r13,%r12,8)
	movq	8(%r15), %rax
	movl	%edx, (%rax,%r12,4)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	incq	%rbx
	cmpq	%rax, %r12
	jge	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	24(%r15), %rax
	movl	(%rax,%r12,4), %esi
	movq	%r14, %rdi
	callq	_is_input_pin
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_hda_get_autocfg_input_label
	movq	%rax, %rbx
	xorl	%edx, %edx
	movq	(%r15), %r13
	testq	%r12, %r12
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	decq	%r14
	cmpq	$1, %r14
	jle	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%r14), %r15d
	movq	(%r13,%r15,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movl	(%rax,%r15,4), %edx
	movq	%rcx, %r15
	incl	%edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fill_input_pin_labels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_input_pin_labels
_fill_input_pin_labels:                 ; @fill_input_pin_labels
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x23, [x0]
	mov	x20, x23
	ldr	w8, [x20, #16]!
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	w24, #1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x22, [x25, x21, lsl #3]
	ldr	x9, [x23, #8]
	str	w8, [x9, x21, lsl #2]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x24, x24, #1
	cmp	x21, x8
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x23, #24]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_is_input_pin
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_hda_get_autocfg_input_label
	mov	x22, x0
	ldr	x25, [x23]
	cbz	x21, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x24
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	sub	x26, x26, #1
	cmp	x26, #1
	b.le	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w27, w26, #2
	ldr	x0, [x25, w27, uxtw #3]
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #8]
	ldr	w8, [x8, x27, lsl #2]
	add	w8, w8, #1
	b	LBB0_3
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fill_input_pin_labels
.subsections_via_symbols
