	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vr41xx_gpio_get
_vr41xx_gpio_get:                       ## @vr41xx_gpio_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	%esi, (%rdi)
	jbe	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	cmpl	$15, %esi
	ja	LBB0_4
## %bb.3:
	movq	_GIUPIODL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_giu_read
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_10
LBB0_4:
	cmpl	$31, %ebx
	ja	LBB0_6
## %bb.5:
	movq	_GIUPIODH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_giu_read
	addl	$-16, %ebx
	jmp	LBB0_9
LBB0_6:
	cmpl	$47, %ebx
	ja	LBB0_8
## %bb.7:
	movq	_GIUPODATL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_giu_read
	addl	$-32, %ebx
	jmp	LBB0_9
LBB0_8:
	movq	_GIUPODATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_giu_read
	addl	$-48, %ebx
LBB0_9:
	xorl	%ecx, %ecx
	btl	%ebx, %eax
	setb	%cl
LBB0_10:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GIUPIODL,4,2                   ## @GIUPIODL
	.comm	_GIUPIODH,4,2                   ## @GIUPIODH
	.comm	_GIUPODATL,4,2                  ## @GIUPODATL
	.comm	_GIUPODATH,4,2                  ## @GIUPODATH
	.no_dead_strip	_vr41xx_gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vr41xx_gpio_get
_vr41xx_gpio_get:                       ; @vr41xx_gpio_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, w1
	b.ls	LBB0_3
; %bb.1:
	mov	x19, x1
	cmp	w1, #15
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _GIUPIODL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GIUPIODL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_giu_read
	b	LBB0_9
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_4:
	cmp	w19, #31
	b.hi	LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _GIUPIODH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GIUPIODH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_giu_read
	sub	w19, w19, #16
	b	LBB0_9
LBB0_6:
	cmp	w19, #47
	b.hi	LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _GIUPODATL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GIUPODATL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_giu_read
	sub	w19, w19, #32
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _GIUPODATH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GIUPODATH@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_giu_read
	sub	w19, w19, #48
LBB0_9:
	lsr	w8, w0, w19
	and	w0, w8, #0x1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GIUPIODL,4,2                   ; @GIUPIODL
	.comm	_GIUPIODH,4,2                   ; @GIUPIODH
	.comm	_GIUPODATL,4,2                  ; @GIUPODATL
	.comm	_GIUPODATH,4,2                  ; @GIUPODATH
	.no_dead_strip	_vr41xx_gpio_get
.subsections_via_symbols
