	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvebu_pinmux_gpio_request_enable
_mvebu_pinmux_gpio_request_enable:      ## @mvebu_pinmux_gpio_request_enable
	.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
	movl	%edx, %r15d
	movq	%rdi, %r14
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_mvebu_pinctrl_find_group_by_pid
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movl	4(%rbx), %edi
	movl	%r15d, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mvebu_pinctrl_find_gpio_setting
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rbx), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_mvebu_pinconf_group_set
	jmp	LBB0_7
LBB0_5:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_mvebu_pinmux_gpio_request_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvebu_pinmux_gpio_request_enable
_mvebu_pinmux_gpio_request_enable:      ; @mvebu_pinmux_gpio_request_enable
	.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	x21, x2
	mov	x19, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x22, x0
	mov	x1, x21
	bl	_mvebu_pinctrl_find_group_by_pid
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x2, [x8]
	cbz	x2, LBB0_4
; %bb.2:
	ldr	w0, [x20, #4]
	mov	x1, x21
	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
	br	x2
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x0, x22
	mov	x1, x20
	bl	_mvebu_pinctrl_find_gpio_setting
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x0]
	str	x8, [sp, #8]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	bl	_mvebu_pinconf_group_set
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_mvebu_pinmux_gpio_request_enable
.subsections_via_symbols
