	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvebu_pinctrl_find_gpio_setting
_mvebu_pinctrl_find_gpio_setting:       ## @mvebu_pinctrl_find_gpio_setting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	8(%rsi), %rax
	movq	_MVEBU_SETTING_GPO@GOTPCREL(%rip), %rsi
	movq	_MVEBU_SETTING_GPI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rax
	decq	%rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, (%rax)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, 4(%rax)
	je	LBB0_5
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVEBU_SETTING_GPO,4,2          ## @MVEBU_SETTING_GPO
	.comm	_MVEBU_SETTING_GPI,4,2          ## @MVEBU_SETTING_GPI
	.no_dead_strip	_mvebu_pinctrl_find_gpio_setting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvebu_pinctrl_find_gpio_setting
_mvebu_pinctrl_find_gpio_setting:       ; @mvebu_pinctrl_find_gpio_setting
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
	cbz	w9, LBB0_7
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x10, _MVEBU_SETTING_GPO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MVEBU_SETTING_GPO@GOTPAGEOFF]
	ldr	x0, [x1, #8]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _MVEBU_SETTING_GPI@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MVEBU_SETTING_GPI@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #8
	subs	x9, x9, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	tst	w10, w11
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x8]
	cbz	w11, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x0, #4]
	tst	w12, w11
	b.eq	LBB0_2
LBB0_6:
	ret
LBB0_7:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVEBU_SETTING_GPO,4,2          ; @MVEBU_SETTING_GPO
	.comm	_MVEBU_SETTING_GPI,4,2          ; @MVEBU_SETTING_GPI
	.no_dead_strip	_mvebu_pinctrl_find_gpio_setting
.subsections_via_symbols
