	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as3722_pinmux_process_node
_as3722_pinmux_process_node:            ## @as3722_pinmux_process_node
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_as3722_pinmux_read_node
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%r13d, %r12d
	movslq	%r13d, %rax
	addq	%rax, %rbx
	cmpl	-44(%rbp), %r12d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r13d
	incl	%r13d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-64(%rbp), %rdx
	callq	_as3722_pinmux_config_node
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_device_printf
	jmp	LBB0_4
LBB0_5:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_OF_prop_free
LBB0_7:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_OF_prop_free
LBB0_9:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot configure pin: %s: %d\n"

	.no_dead_strip	_as3722_pinmux_process_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as3722_pinmux_process_node
_as3722_pinmux_process_node:            ; @as3722_pinmux_process_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	bl	_as3722_pinmux_read_node
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.1:
	mov	w24, #0
	ldr	x21, [sp, #16]
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w23, #1
	add	x21, x21, w8, sxtw
	ldr	w9, [sp, #12]
	add	w24, w8, w24
	cmp	w24, w9
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x23, x0
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x21
	bl	_as3722_pinmux_config_node
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_device_printf
	b	LBB0_2
LBB0_5:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_OF_prop_free
LBB0_7:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_OF_prop_free
LBB0_9:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot configure pin: %s: %d\n"

	.no_dead_strip	_as3722_pinmux_process_node
.subsections_via_symbols
