	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aml8726_pinctrl_configure_pins
_aml8726_pinctrl_configure_pins:        ## @aml8726_pinctrl_configure_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r12d
	callq	_device_get_softc
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_OF_node_from_xref
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movl	%eax, %edi
	callq	_OF_getprop_alloc
	testq	%rax, %rax
	js	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	8(%r14), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.4:
	addq	$16, %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rdi
	addq	$16, %r15
	testq	%rdi, %rdi
	jne	LBB0_5
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movl	%r12d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_10
LBB0_7:
	cmpq	$0, -16(%r15)
	je	LBB0_8
## %bb.11:
	movq	-88(%rbp), %rdi
	callq	_OF_prop_free
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movl	%r13d, %edi
	callq	_OF_getprop_alloc
	testq	%rax, %rax
	jle	LBB0_25
## %bb.12:
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.17:
	movq	-64(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	-64(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.22:
	movq	-64(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:
	movq	-64(%rbp), %rcx
	leaq	L_.str.8(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_device_printf
	movq	-64(%rbp), %rdi
	jmp	LBB0_9
LBB0_8:
	movq	-88(%rbp), %rcx
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_device_printf
	movq	-88(%rbp), %rdi
LBB0_9:
	callq	_OF_prop_free
LBB0_10:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_53:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_aml8726_unknown_pm@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-64(%rbp), %rdi
	callq	_OF_prop_free
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	orl	$2, %eax
	cmpl	$130, %eax
	jne	LBB0_15
## %bb.26:
	cmpl	$0, (%r14)
	jne	LBB0_15
	jmp	LBB0_27
LBB0_13:
	movl	$129, %eax
	jmp	LBB0_14
LBB0_18:
	movl	$131, %eax
LBB0_14:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi
	callq	_OF_prop_free
LBB0_15:
	leaq	L_.str.10(%rip), %rsi
	leaq	-104(%rbp), %rdx
	movl	%r13d, %edi
	callq	_OF_getprop_alloc
	testq	%rax, %rax
	js	LBB0_16
## %bb.28:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_52
## %bb.29:
	movq	%rax, %rbx
	movq	-104(%rbp), %r13
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, -92(%rbp)                ## 4-byte Spill
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	16(%r14), %rdx
	movl	%r12d, %edi
	leaq	L_.str.13(%rip), %rsi
LBB0_50:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	callq	_device_printf
LBB0_51:                                ##   in Loop: Header=BB0_30 Depth=1
	testq	%rbx, %rbx
	je	LBB0_52
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
                                        ##     Child Loop BB0_58 Depth 2
                                        ##       Child Loop BB0_59 Depth 3
	movq	-8(%r15), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	movq	24(%r14), %rdi
	addq	$24, %r14
	testq	%rdi, %rdi
	jne	LBB0_32
LBB0_35:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	%r12d, %edi
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_device_printf
LBB0_36:                                ##   in Loop: Header=BB0_30 Depth=1
	cmpb	$0, (%r13)
	je	LBB0_42
## %bb.37:                              ##   in Loop: Header=BB0_30 Depth=1
	decq	%rbx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rax
	addq	$-1, %rbx
	setb	%cl
	cmpb	$0, 1(%r13)
	leaq	1(%r13), %r13
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	testb	%cl, %cl
	jne	LBB0_38
LBB0_40:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	addq	%rcx, %r13
	testq	%rax, %rax
	jne	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_30 Depth=1
	decq	%rbx
	incq	%r13
LBB0_43:                                ##   in Loop: Header=BB0_30 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_51
## %bb.44:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_49
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rdi
	addq	$24, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	jne	LBB0_46
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_30 Depth=1
	cmpq	$0, (%r14)
	jne	LBB0_36
	jmp	LBB0_35
LBB0_48:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_49
## %bb.54:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	_aml8726_unknown_pm@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_57
## %bb.55:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_56
LBB0_57:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_AML_PINCTRL_LOCK
	movq	8(%r12), %rax
	cmpq	$0, (%rax)
	jne	LBB0_58
LBB0_68:                                ##   in Loop: Header=BB0_30 Depth=1
	cmpl	$0, 8(%r14)
	je	LBB0_72
## %bb.69:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	movl	12(%r14), %esi
	je	LBB0_70
## %bb.71:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_AOMUX_READ_4
	orl	8(%r14), %eax
	movl	12(%r14), %esi
	movq	%r15, %rdi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_AOMUX_WRITE_4
	jmp	LBB0_72
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_58 Depth=2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 16(%rax)
	leaq	16(%rax), %rax
	je	LBB0_68
LBB0_58:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_59 Depth 3
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rax), %r12
	cmpq	$0, (%r12)
	jne	LBB0_59
	jmp	LBB0_67
LBB0_64:                                ##   in Loop: Header=BB0_59 Depth=3
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_AOMUX_READ_4
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	callq	_AOMUX_WRITE_4
LBB0_65:                                ##   in Loop: Header=BB0_59 Depth=3
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_59 Depth=3
	cmpq	$0, 24(%r12)
	leaq	24(%r12), %r12
	je	LBB0_67
LBB0_59:                                ##   Parent Loop BB0_30 Depth=1
                                        ##     Parent Loop BB0_58 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%r14, %r12
	je	LBB0_66
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=3
	movq	16(%r12), %rdi
	movq	16(%r14), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_66
## %bb.61:                              ##   in Loop: Header=BB0_59 Depth=3
	cmpl	$0, 8(%r12)
	je	LBB0_66
## %bb.62:                              ##   in Loop: Header=BB0_59 Depth=3
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	movl	12(%r12), %esi
	jne	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_59 Depth=3
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_MUX_READ_4
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	callq	_MUX_WRITE_4
	jmp	LBB0_65
LBB0_70:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_MUX_READ_4
	orl	8(%r14), %eax
	movl	12(%r14), %esi
	movq	%r15, %rdi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_MUX_WRITE_4
LBB0_72:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$3, %eax
	movl	-92(%rbp), %r12d                ## 4-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	ja	LBB0_81
## %bb.73:                              ##   in Loop: Header=BB0_30 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_74:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 4(%r14)
	movl	8(%r14), %esi
	je	LBB0_75
## %bb.76:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_AOPUD_READ_4
	movl	(%r14), %edx
	movl	8(%r14), %esi
	shll	$16, %edx
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	cmpl	$130, -56(%rbp)                 ## 4-byte Folded Reload
	cmovel	%ecx, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_AOPUD_WRITE_4
	jmp	LBB0_77
LBB0_56:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	16(%r14), %rdx
	movl	%r12d, %edi
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_50
LBB0_75:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_PUD_READ_4
	movl	(%r14), %edx
	movl	8(%r14), %esi
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	cmpl	$130, -56(%rbp)                 ## 4-byte Folded Reload
	cmovel	%ecx, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_PUD_WRITE_4
LBB0_77:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 4(%r14)
	movl	8(%r14), %esi
	je	LBB0_78
## %bb.79:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_AOPEN_READ_4
	movl	(%r14), %edx
	movl	8(%r14), %esi
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	cmpl	$131, -56(%rbp)                 ## 4-byte Folded Reload
	cmovel	%ecx, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_AOPEN_WRITE_4
	jmp	LBB0_80
LBB0_78:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_PEN_READ_4
	movl	(%r14), %edx
	movl	8(%r14), %esi
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	cmpl	$131, -56(%rbp)                 ## 4-byte Folded Reload
	cmovel	%ecx, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_PEN_WRITE_4
LBB0_80:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_81:                                ##   in Loop: Header=BB0_30 Depth=1
	callq	_AML_PINCTRL_UNLOCK
	jmp	LBB0_51
LBB0_52:
	movq	-104(%rbp), %rdi
	callq	_OF_prop_free
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_16:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_2
LBB0_20:
	movl	$130, %eax
	jmp	LBB0_21
LBB0_23:
	movl	$128, %eax
LBB0_21:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi
	callq	_OF_prop_free
	cmpl	$0, (%r14)
	jne	LBB0_15
LBB0_27:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_74, LBB0_74-LJTI0_0
.set L0_0_set_77, LBB0_77-LJTI0_0
LJTI0_0:
	.long	L0_0_set_74
	.long	L0_0_set_77
	.long	L0_0_set_74
	.long	L0_0_set_77
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"amlogic,function"

L_.str.1:                               ## @.str.1
	.asciz	"missing amlogic,function attribute in FDT\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.2:                               ## @.str.2
	.asciz	"unknown function attribute %.*s in FDT\n"

L_.str.3:                               ## @.str.3
	.asciz	"amlogic,pull"

	.comm	_aml8726_unknown_pm,4,2         ## @aml8726_unknown_pm
L_.str.4:                               ## @.str.4
	.asciz	"enable"

L_.str.5:                               ## @.str.5
	.asciz	"disable"

L_.str.6:                               ## @.str.6
	.asciz	"down"

L_.str.7:                               ## @.str.7
	.asciz	"up"

L_.str.8:                               ## @.str.8
	.asciz	"unknown pull attribute %.*s in FDT\n"

L_.str.9:                               ## @.str.9
	.asciz	"SoC doesn't support setting pull direction.\n"

L_.str.10:                              ## @.str.10
	.asciz	"amlogic,pins"

L_.str.11:                              ## @.str.11
	.asciz	"missing amlogic,pins attribute in FDT\n"

L_.str.12:                              ## @.str.12
	.asciz	"unknown pin attribute %.*s in FDT\n"

L_.str.13:                              ## @.str.13
	.asciz	"missing entry for package pin %s\n"

L_.str.14:                              ## @.str.14
	.asciz	"missing pull info for package pin %s\n"

	.no_dead_strip	_aml8726_pinctrl_configure_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aml8726_pinctrl_configure_pins
_aml8726_pinctrl_configure_pins:        ; @aml8726_pinctrl_configure_pins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_device_get_softc
	mov	x20, x0
	mov	x0, x21
	bl	_OF_node_from_xref
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #40
	mov	x0, x21
	bl	_OF_getprop_alloc
	tbnz	x0, #63, LBB0_5
; %bb.1:
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_14
; %bb.2:
	add	x26, x8, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #40]
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x26], #16
	cbnz	x0, LBB0_3
	b	LBB0_14
LBB0_5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_device_printf
	b	LBB0_16
LBB0_7:
	ldur	x8, [x26, #-16]
	cbz	x8, LBB0_14
; %bb.8:
	ldr	x0, [sp, #40]
	bl	_OF_prop_free
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	mov	x0, x21
	bl	_OF_getprop_alloc
	cmp	x0, #1
	b.lt	LBB0_18
; %bb.9:
	mov	x22, x0
	ldr	x0, [sp, #24]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_20
; %bb.10:
	ldr	x0, [sp, #24]
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_21
; %bb.11:
	ldr	x0, [sp, #24]
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_74
; %bb.12:
	ldr	x0, [sp, #24]
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_75
; %bb.13:
	ldr	x8, [sp, #24]
	stp	x22, x8, [sp]
Lloh14:
	adrp	x1, l_.str.8@PAGE
Lloh15:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	ldr	x0, [sp, #24]
	b	LBB0_15
LBB0_14:
	ldr	x8, [sp, #40]
	stp	x22, x8, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	ldr	x0, [sp, #40]
LBB0_15:
	bl	_OF_prop_free
LBB0_16:
Lloh18:
	adrp	x8, _ENXIO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_17:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_18:
Lloh21:
	adrp	x8, _aml8726_unknown_pm@GOTPAGE
Lloh22:
	ldr	x8, [x8, _aml8726_unknown_pm@GOTPAGEOFF]
Lloh23:
	ldr	w23, [x8]
	ldr	x0, [sp, #24]
	bl	_OF_prop_free
	orr	w8, w23, #0x2
	cmp	w8, #130
	b.ne	LBB0_23
; %bb.19:
	ldr	w8, [x20]
	cbnz	w8, LBB0_23
	b	LBB0_77
LBB0_20:
	mov	w23, #129
	b	LBB0_22
LBB0_21:
	mov	w23, #131
LBB0_22:
	ldr	x0, [sp, #24]
	bl	_OF_prop_free
LBB0_23:
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #32
	mov	x0, x21
	bl	_OF_getprop_alloc
	tbnz	x0, #63, LBB0_26
; %bb.24:
	mov	x21, x0
	cbz	x0, LBB0_73
; %bb.25:
Lloh26:
	adrp	x22, l_.str.12@PAGE
Lloh27:
	add	x22, x22, l_.str.12@PAGEOFF
Lloh28:
	adrp	x27, l_.str.13@PAGE
Lloh29:
	add	x27, x27, l_.str.13@PAGEOFF
	ldr	x24, [sp, #32]
	sub	w8, w23, #128
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_32
LBB0_26:
Lloh30:
	adrp	x1, l_.str.11@PAGE
Lloh31:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_6
LBB0_27:                                ;   in Loop: Header=BB0_32 Depth=1
	bl	_AOPUD_READ_4
	ldr	w8, [x25]
	lsl	w8, w8, #16
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w23, #130
	csel	w2, w9, w8, eq
	ldr	w1, [x25, #8]
	mov	x0, x20
	bl	_AOPUD_WRITE_4
LBB0_28:                                ;   in Loop: Header=BB0_32 Depth=1
	ldp	w8, w1, [x25, #4]
	mov	x0, x20
	cbz	w8, LBB0_66
; %bb.29:                               ;   in Loop: Header=BB0_32 Depth=1
	bl	_AOPEN_READ_4
	ldr	w8, [x25]
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w23, #131
	csel	w2, w9, w8, eq
	ldr	w1, [x25, #8]
	mov	x0, x20
	bl	_AOPEN_WRITE_4
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x20
	bl	_AML_PINCTRL_UNLOCK
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	cbz	x21, LBB0_73
LBB0_32:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
                                        ;     Child Loop BB0_56 Depth 2
                                        ;       Child Loop BB0_59 Depth 3
	ldur	x28, [x26, #-8]
	ldr	x0, [x28]
	cbz	x0, LBB0_42
LBB0_33:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x1, x24
	mov	x2, x21
	bl	_strncmp
	cbz	x0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x0, [x28, #24]!
	cbnz	x0, LBB0_33
	b	LBB0_42
LBB0_35:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_42
; %bb.36:                               ;   in Loop: Header=BB0_32 Depth=1
	ldrb	w8, [x24]
	cbz	w8, LBB0_43
LBB0_37:                                ;   in Loop: Header=BB0_32 Depth=1
	sub	x21, x21, #1
LBB0_38:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x21
	ldrb	w10, [x24, #1]!
	subs	x21, x21, #1
	cset	w9, hs
	cbz	w10, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=2
	tbnz	w9, #0, LBB0_38
LBB0_40:                                ;   in Loop: Header=BB0_32 Depth=1
	cmp	x8, #0
	cinc	x24, x24, ne
	cbnz	x8, LBB0_44
; %bb.41:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x21, #0
	b	LBB0_44
LBB0_42:                                ;   in Loop: Header=BB0_32 Depth=1
	stp	x21, x24, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_device_printf
	ldrb	w8, [x24]
	cbnz	w8, LBB0_37
LBB0_43:                                ;   in Loop: Header=BB0_32 Depth=1
	sub	x21, x21, #1
	add	x24, x24, #1
LBB0_44:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_31
; %bb.45:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x25, [x20, #16]
	ldr	x0, [x25, #16]
	cbz	x0, LBB0_64
LBB0_46:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x28, #16]
	bl	_strcmp
	cbz	x0, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=2
	ldr	x0, [x25, #40]
	add	x25, x25, #24
	cbnz	x0, LBB0_46
	b	LBB0_64
LBB0_48:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_64
; %bb.49:                               ;   in Loop: Header=BB0_32 Depth=1
Lloh32:
	adrp	x8, _aml8726_unknown_pm@GOTPAGE
Lloh33:
	ldr	x8, [x8, _aml8726_unknown_pm@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w23, w8
	b.eq	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_72
LBB0_51:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x22, x23
	mov	x0, x20
	bl	_AML_PINCTRL_LOCK
	ldr	x23, [x20, #8]
	ldr	x8, [x23]
	cbnz	x8, LBB0_56
LBB0_52:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x28, #8]
	mov	x23, x22
Lloh35:
	adrp	x22, l_.str.12@PAGE
Lloh36:
	add	x22, x22, l_.str.12@PAGEOFF
Lloh37:
	adrp	x27, l_.str.13@PAGE
Lloh38:
	add	x27, x27, l_.str.13@PAGEOFF
	cbz	w8, LBB0_68
; %bb.53:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x25, #4]
	ldr	w1, [x28, #12]
	mov	x0, x20
	cbz	w8, LBB0_67
; %bb.54:                               ;   in Loop: Header=BB0_32 Depth=1
	bl	_AOMUX_READ_4
	ldp	w8, w1, [x28, #8]
	orr	w2, w8, w0
	mov	x0, x20
	bl	_AOMUX_WRITE_4
	b	LBB0_68
LBB0_55:                                ;   in Loop: Header=BB0_56 Depth=2
	ldr	x8, [x23, #16]!
	cbz	x8, LBB0_52
LBB0_56:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_59 Depth 3
	ldr	x27, [x23, #8]
	ldr	x8, [x27]
	cbnz	x8, LBB0_59
	b	LBB0_55
LBB0_57:                                ;   in Loop: Header=BB0_59 Depth=3
	bl	_AOMUX_READ_4
	ldp	w8, w1, [x27, #8]
	bic	w2, w0, w8
	mov	x0, x20
	bl	_AOMUX_WRITE_4
LBB0_58:                                ;   in Loop: Header=BB0_59 Depth=3
	ldr	x8, [x27, #24]!
	cbz	x8, LBB0_55
LBB0_59:                                ;   Parent Loop BB0_32 Depth=1
                                        ;     Parent Loop BB0_56 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x27, x28
	b.eq	LBB0_58
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=3
	ldr	x0, [x27, #16]
	ldr	x1, [x28, #16]
	bl	_strcmp
	cbnz	x0, LBB0_58
; %bb.61:                               ;   in Loop: Header=BB0_59 Depth=3
	ldr	w8, [x27, #8]
	cbz	w8, LBB0_58
; %bb.62:                               ;   in Loop: Header=BB0_59 Depth=3
	ldr	w8, [x25, #4]
	ldr	w1, [x27, #12]
	mov	x0, x20
	cbnz	w8, LBB0_57
; %bb.63:                               ;   in Loop: Header=BB0_59 Depth=3
	bl	_MUX_READ_4
	ldp	w8, w1, [x27, #8]
	bic	w2, w0, w8
	mov	x0, x20
	bl	_MUX_WRITE_4
	b	LBB0_58
LBB0_64:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x28, #16]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x27
LBB0_65:                                ;   in Loop: Header=BB0_32 Depth=1
	bl	_device_printf
	b	LBB0_31
LBB0_66:                                ;   in Loop: Header=BB0_32 Depth=1
	bl	_PEN_READ_4
	ldr	w8, [x25]
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w23, #131
	csel	w2, w9, w8, eq
	ldr	w1, [x25, #8]
	mov	x0, x20
	bl	_PEN_WRITE_4
	b	LBB0_30
LBB0_67:                                ;   in Loop: Header=BB0_32 Depth=1
	bl	_MUX_READ_4
	ldp	w8, w1, [x28, #8]
	orr	w2, w8, w0
	mov	x0, x20
	bl	_MUX_WRITE_4
LBB0_68:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, #3
	b.hi	LBB0_30
; %bb.69:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
Lloh39:
	adrp	x11, lJTI0_0@PAGE
Lloh40:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x8, LBB0_28
	ldrb	w9, [x11, x10]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_70:                                ;   in Loop: Header=BB0_32 Depth=1
	ldp	w8, w1, [x25, #4]
	mov	x0, x20
	cbnz	w8, LBB0_27
; %bb.71:                               ;   in Loop: Header=BB0_32 Depth=1
	bl	_PUD_READ_4
	ldr	w8, [x25]
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w23, #130
	csel	w2, w9, w8, eq
	ldr	w1, [x25, #8]
	mov	x0, x20
	bl	_PUD_WRITE_4
	b	LBB0_28
LBB0_72:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x28, #16]
	str	x8, [sp]
	mov	x0, x19
Lloh41:
	adrp	x1, l_.str.14@PAGE
Lloh42:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_65
LBB0_73:
	ldr	x0, [sp, #32]
	bl	_OF_prop_free
	mov	w0, #0
	b	LBB0_17
LBB0_74:
	mov	w23, #130
	b	LBB0_76
LBB0_75:
	mov	w23, #128
LBB0_76:
	ldr	x0, [sp, #24]
	bl	_OF_prop_free
	ldr	w8, [x20]
	cbnz	w8, LBB0_23
LBB0_77:
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_70-LBB0_28)>>2
	.byte	(LBB0_28-LBB0_28)>>2
	.byte	(LBB0_70-LBB0_28)>>2
	.byte	(LBB0_28-LBB0_28)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"amlogic,function"

l_.str.1:                               ; @.str.1
	.asciz	"missing amlogic,function attribute in FDT\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.2:                               ; @.str.2
	.asciz	"unknown function attribute %.*s in FDT\n"

l_.str.3:                               ; @.str.3
	.asciz	"amlogic,pull"

	.comm	_aml8726_unknown_pm,4,2         ; @aml8726_unknown_pm
l_.str.4:                               ; @.str.4
	.asciz	"enable"

l_.str.5:                               ; @.str.5
	.asciz	"disable"

l_.str.6:                               ; @.str.6
	.asciz	"down"

l_.str.7:                               ; @.str.7
	.asciz	"up"

l_.str.8:                               ; @.str.8
	.asciz	"unknown pull attribute %.*s in FDT\n"

l_.str.9:                               ; @.str.9
	.asciz	"SoC doesn't support setting pull direction.\n"

l_.str.10:                              ; @.str.10
	.asciz	"amlogic,pins"

l_.str.11:                              ; @.str.11
	.asciz	"missing amlogic,pins attribute in FDT\n"

l_.str.12:                              ; @.str.12
	.asciz	"unknown pin attribute %.*s in FDT\n"

l_.str.13:                              ; @.str.13
	.asciz	"missing entry for package pin %s\n"

l_.str.14:                              ; @.str.14
	.asciz	"missing pull info for package pin %s\n"

	.no_dead_strip	_aml8726_pinctrl_configure_pins
.subsections_via_symbols
