	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunxi_pinctrl_gpio_of_xlate
_sunxi_pinctrl_gpio_of_xlate:           ## @sunxi_pinctrl_gpio_of_xlate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PINS_PER_BANK@GOTPCREL(%rip), %r8
	movq	(%rsi), %rcx
	movl	(%rcx), %eax
	imull	(%r8), %eax
	addl	4(%rcx), %eax
	cmpl	(%rdi), %eax
	jle	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	8(%rcx), %ecx
	movl	%ecx, (%rdx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PINS_PER_BANK,4,2              ## @PINS_PER_BANK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sunxi_pinctrl_gpio_of_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunxi_pinctrl_gpio_of_xlate
_sunxi_pinctrl_gpio_of_xlate:           ; @sunxi_pinctrl_gpio_of_xlate
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _PINS_PER_BANK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PINS_PER_BANK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	ldr	x9, [x1]
	ldp	w11, w12, [x9]
	madd	w0, w11, w10, w12
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	cbz	x2, LBB0_4
; %bb.3:
	ldr	w8, [x9, #8]
	str	w8, [x2]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PINS_PER_BANK,4,2              ; @PINS_PER_BANK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sunxi_pinctrl_gpio_of_xlate
.subsections_via_symbols
