	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx855gpio_get
_vx855gpio_get:                         ## @vx855gpio_get
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_gpiochip_get_data
	movq	_NR_VX855_GPI@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	jbe	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_inl
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_gpi_i_bit
	jmp	LBB0_5
LBB0_2:
	movq	_NR_VX855_GPInO@GOTPCREL(%rip), %r12
	cmpl	%ebx, (%r12)
	jbe	LBB0_4
## %bb.3:
	movl	4(%rax), %edi
	callq	_inl
	movl	%eax, %r14d
	subl	(%r15), %ebx
	movl	%ebx, %edi
	callq	_gpo_o_bit
	jmp	LBB0_5
LBB0_4:
	movl	(%rax), %edi
	callq	_inl
	movl	%eax, %r14d
	subl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_gpio_i_bit
LBB0_5:
	andl	%r14d, %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_VX855_GPI,4,2               ## @NR_VX855_GPI
	.comm	_NR_VX855_GPInO,4,2             ## @NR_VX855_GPInO
	.no_dead_strip	_vx855gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx855gpio_get
_vx855gpio_get:                         ; @vx855gpio_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	bl	_gpiochip_get_data
Lloh0:
	adrp	x21, _NR_VX855_GPI@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NR_VX855_GPI@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w19
	b.ls	LBB0_2
; %bb.1:
	ldr	w0, [x0]
	bl	_inl
	mov	x20, x0
	mov	x0, x19
	bl	_gpi_i_bit
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x22, _NR_VX855_GPInO@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NR_VX855_GPInO@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w19
	b.ls	LBB0_4
; %bb.3:
	ldr	w0, [x0, #4]
	bl	_inl
	mov	x20, x0
	ldr	w8, [x21]
	sub	w0, w19, w8
	bl	_gpo_o_bit
	b	LBB0_5
LBB0_4:
	ldr	w0, [x0]
	bl	_inl
	mov	x20, x0
	ldr	w8, [x22]
	sub	w0, w19, w8
	bl	_gpio_i_bit
LBB0_5:
	and	w8, w0, w20
	cmp	w8, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_VX855_GPI,4,2               ; @NR_VX855_GPI
	.comm	_NR_VX855_GPInO,4,2             ; @NR_VX855_GPInO
	.no_dead_strip	_vx855gpio_get
.subsections_via_symbols
