	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as3722_pinconf_get
_as3722_pinconf_get:                    ## @as3722_pinconf_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r14
	movq	(%r15), %rdi
	callq	_pinconf_to_config_param
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rsi
	addq	%rdx, %rsi
	movl	%ebx, %ecx
	jmpq	*%rsi
LBB0_5:
	movq	_AS3722_GPIO_MODE_OPEN_DRAIN@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_7:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	movq	_AS3722_GPIO_MODE_PULL_UP@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_4:
	movq	_AS3722_GPIO_MODE_PULL_DOWN@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_6:
	movq	_AS3722_GPIO_MODE_HIGH_IMPED@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	(%rdx), %esi
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_8:
	movq	_AS3722_GPIO_MODE_PULL_UP@GOTPCREL(%rip), %rdx
	movq	_AS3722_GPIO_MODE_PULL_DOWN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movq	(%r14), %rdi
	xorl	%edx, %edx
	testl	%esi, (%rdi,%rcx,4)
	sete	%dl
	xorl	%esi, %esi
LBB0_9:
	movq	(%r14), %rdi
	andl	(%rdi,%rcx,4), %esi
	movl	$1, %esi
	cmovel	%edx, %esi
	movl	%eax, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r15)
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_AS3722_GPIO_MODE_PULL_UP,4,2   ## @AS3722_GPIO_MODE_PULL_UP
	.comm	_AS3722_GPIO_MODE_PULL_DOWN,4,2 ## @AS3722_GPIO_MODE_PULL_DOWN
	.comm	_AS3722_GPIO_MODE_OPEN_DRAIN,4,2 ## @AS3722_GPIO_MODE_OPEN_DRAIN
	.comm	_AS3722_GPIO_MODE_HIGH_IMPED,4,2 ## @AS3722_GPIO_MODE_HIGH_IMPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Properties not supported\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_as3722_pinconf_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as3722_pinconf_get
_as3722_pinconf_get:                    ; @as3722_pinconf_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x21, x0
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w9, #0
Lloh2:
	adrp	x8, _AS3722_GPIO_MODE_OPEN_DRAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AS3722_GPIO_MODE_OPEN_DRAIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_3:
	ldr	w0, [x21, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh7:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_4:
	mov	w9, #0
Lloh10:
	adrp	x8, _AS3722_GPIO_MODE_PULL_UP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AS3722_GPIO_MODE_PULL_UP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_5:
	mov	w9, #0
Lloh13:
	adrp	x8, _AS3722_GPIO_MODE_PULL_DOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AS3722_GPIO_MODE_PULL_DOWN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_6:
	mov	w9, #0
Lloh16:
	adrp	x8, _AS3722_GPIO_MODE_HIGH_IMPED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AS3722_GPIO_MODE_HIGH_IMPED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_7:
	mov	w8, #0
Lloh19:
	adrp	x9, _AS3722_GPIO_MODE_PULL_UP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AS3722_GPIO_MODE_PULL_UP@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _AS3722_GPIO_MODE_PULL_DOWN@GOTPAGE
Lloh23:
	ldr	x10, [x10, _AS3722_GPIO_MODE_PULL_DOWN@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	x10, [x21]
	ldr	w10, [x10, w20, uxtw #2]
	tst	w10, w9
	cset	w9, eq
LBB0_8:
	ldr	x10, [x21]
	ldr	w10, [x10, w20, uxtw #2]
	tst	w10, w8
	csinc	w1, w9, wzr, eq
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_AS3722_GPIO_MODE_PULL_UP,4,2   ; @AS3722_GPIO_MODE_PULL_UP
	.comm	_AS3722_GPIO_MODE_PULL_DOWN,4,2 ; @AS3722_GPIO_MODE_PULL_DOWN
	.comm	_AS3722_GPIO_MODE_OPEN_DRAIN,4,2 ; @AS3722_GPIO_MODE_OPEN_DRAIN
	.comm	_AS3722_GPIO_MODE_HIGH_IMPED,4,2 ; @AS3722_GPIO_MODE_HIGH_IMPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Properties not supported\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_as3722_pinconf_get
.subsections_via_symbols
