	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_gpio_parse_bias
_aw_gpio_parse_bias:                    ## @aw_gpio_parse_bias
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rbx
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_OF_getencprop
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-20(%rbp), %rbx
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_OF_getencprop
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movq	_AW_GPIO_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_AW_GPIO_PULLUP@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	callq	_OF_hasprop
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_AW_GPIO_PULLDOWN@GOTPCREL(%rip), %rbx
LBB0_8:
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pull"

L_.str.1:                               ## @.str.1
	.asciz	"allwinner,pull"

L_.str.2:                               ## @.str.2
	.asciz	"bias-disable"

	.comm	_AW_GPIO_NONE,4,2               ## @AW_GPIO_NONE
L_.str.3:                               ## @.str.3
	.asciz	"bias-pull-up"

	.comm	_AW_GPIO_PULLUP,4,2             ## @AW_GPIO_PULLUP
L_.str.4:                               ## @.str.4
	.asciz	"bias-pull-down"

	.comm	_AW_GPIO_PULLDOWN,4,2           ## @AW_GPIO_PULLDOWN
	.no_dead_strip	_aw_gpio_parse_bias
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_gpio_parse_bias
_aw_gpio_parse_bias:                    ; @aw_gpio_parse_bias
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x20, sp, #12
	add	x2, sp, #12
	mov	w3, #4
	bl	_OF_getencprop
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x20, sp, #12
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #4
	bl	_OF_getencprop
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_OF_hasprop
Lloh6:
	adrp	x20, _AW_GPIO_NONE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _AW_GPIO_NONE@GOTPAGEOFF]
	cbnz	x0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_OF_hasprop
	cbz	x0, LBB0_5
; %bb.4:
Lloh10:
	adrp	x20, _AW_GPIO_PULLUP@GOTPAGE
Lloh11:
	ldr	x20, [x20, _AW_GPIO_PULLUP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_OF_hasprop
Lloh14:
	adrp	x8, _AW_GPIO_PULLDOWN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AW_GPIO_PULLDOWN@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x20, x8, eq
LBB0_6:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pull"

l_.str.1:                               ; @.str.1
	.asciz	"allwinner,pull"

l_.str.2:                               ; @.str.2
	.asciz	"bias-disable"

	.comm	_AW_GPIO_NONE,4,2               ; @AW_GPIO_NONE
l_.str.3:                               ; @.str.3
	.asciz	"bias-pull-up"

	.comm	_AW_GPIO_PULLUP,4,2             ; @AW_GPIO_PULLUP
l_.str.4:                               ; @.str.4
	.asciz	"bias-pull-down"

	.comm	_AW_GPIO_PULLDOWN,4,2           ; @AW_GPIO_PULLDOWN
	.no_dead_strip	_aw_gpio_parse_bias
.subsections_via_symbols
