	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_apu2_get_data
_gpio_apu2_get_data:                    ## @gpio_apu2_get_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gpio_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %edi
	callq	_ioread32
	movq	_GPIO_BIT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	btl	%edx, %eax
	setb	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpio_addr,8,3                  ## @gpio_addr
	.comm	_GPIO_BIT_READ,4,2              ## @GPIO_BIT_READ
	.no_dead_strip	_gpio_apu2_get_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_apu2_get_data
_gpio_apu2_get_data:                    ; @gpio_apu2_get_data
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _gpio_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpio_addr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8, w1, uxtw #2]
	bl	_ioread32
Lloh3:
	adrp	x8, _GPIO_BIT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_BIT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w0, w8, #0x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gpio_addr,8,3                  ; @gpio_addr
	.comm	_GPIO_BIT_READ,4,2              ; @GPIO_BIT_READ
	.no_dead_strip	_gpio_apu2_get_data
.subsections_via_symbols
