	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sama5d2_piobu_direction_output
_sama5d2_piobu_direction_output:        ## @sama5d2_piobu_direction_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movq	_PIOBU_OUT@GOTPCREL(%rip), %rax
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_PIOBU_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	(%rax), %ecx
	movq	_PIOBU_DIRECTION@GOTPCREL(%rip), %rax
	movq	_PIOBU_SOD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	popq	%rbp
	jmp	_sama5d2_piobu_write_value      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PIOBU_OUT,4,2                  ## @PIOBU_OUT
	.comm	_PIOBU_HIGH,4,2                 ## @PIOBU_HIGH
	.comm	_PIOBU_DIRECTION,4,2            ## @PIOBU_DIRECTION
	.comm	_PIOBU_SOD,4,2                  ## @PIOBU_SOD
	.no_dead_strip	_sama5d2_piobu_direction_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sama5d2_piobu_direction_output
_sama5d2_piobu_direction_output:        ; @sama5d2_piobu_direction_output
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PIOBU_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIOBU_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PIOBU_HIGH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PIOBU_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w2, #0
	csel	w9, wzr, w9, eq
	orr	w3, w9, w8
Lloh6:
	adrp	x8, _PIOBU_DIRECTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PIOBU_DIRECTION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PIOBU_SOD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PIOBU_SOD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	_sama5d2_piobu_write_value
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PIOBU_OUT,4,2                  ; @PIOBU_OUT
	.comm	_PIOBU_HIGH,4,2                 ; @PIOBU_HIGH
	.comm	_PIOBU_DIRECTION,4,2            ; @PIOBU_DIRECTION
	.comm	_PIOBU_SOD,4,2                  ; @PIOBU_SOD
	.no_dead_strip	_sama5d2_piobu_direction_output
.subsections_via_symbols
