	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_pinconf_get
_meson_pinconf_get:                     ## @meson_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	(%r15), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %ebx
	leal	-128(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_meson_pinconf_get_pull
	cmpl	%ebx, %eax
	je	LBB0_3
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_14:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_4:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_meson_pinconf_get_output
	testl	%eax, %eax
	jle	LBB0_5
LBB0_3:
	movl	$1, -36(%rbp)
	movl	$1, %esi
LBB0_12:
	movl	%ebx, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r15)
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_dev_dbg
	xorl	%eax, %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_meson_pinconf_get_output
	testl	%eax, %eax
	jle	LBB0_5
## %bb.10:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_meson_pinconf_get_drive
	testl	%eax, %eax
	js	LBB0_5
## %bb.11:
	movl	%eax, %esi
	movl	%eax, -36(%rbp)
	jmp	LBB0_12
LBB0_7:
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_meson_pinconf_get_drive_strength
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movl	-36(%rbp), %esi
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pinconf for pin %u is %lu\n"

	.no_dead_strip	_meson_pinconf_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_pinconf_get
_meson_pinconf_get:                     ; @meson_pinconf_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x21, x0
	ldr	x0, [x20]
	bl	_pinconf_to_config_param
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
	mov	x22, x0
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	x0, x21
	mov	x1, x19
	bl	_meson_pinconf_get_pull
	cmp	w0, w22
	b.eq	LBB0_7
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_meson_pinconf_get_output
	cmp	w0, #0
	b.le	LBB0_3
LBB0_7:
	mov	w1, #1
LBB0_8:
	str	w1, [sp, #12]
LBB0_9:
	mov	x0, x22
	bl	_pinconf_to_config_packed
	mov	x3, x0
	str	x0, [x20]
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	bl	_meson_pinconf_get_output
	cmp	w0, #0
	b.le	LBB0_3
; %bb.12:
	mov	x0, x21
	mov	x1, x19
	bl	_meson_pinconf_get_drive
	tbnz	w0, #31, LBB0_3
; %bb.13:
	mov	x1, x0
	b	LBB0_8
LBB0_14:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x19
	bl	_meson_pinconf_get_drive_strength
	cbnz	w0, LBB0_10
; %bb.15:
	ldr	w1, [sp, #12]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pinconf for pin %u is %lu\n"

	.no_dead_strip	_meson_pinconf_get
.subsections_via_symbols
