	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cs5535_gpio_isset              ## -- Begin function cs5535_gpio_isset
	.p2align	4, 0x90
_cs5535_gpio_isset:                     ## @cs5535_gpio_isset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	_cs5535_gpio_chip@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r14), %rdi
	movl	%ebx, %eax
	cmpl	$15, %r15d
	ja	LBB0_2
## %bb.1:
	addq	%rax, %rdi
	callq	_inl
	movq	%rax, %r14
	jmp	LBB0_3
LBB0_2:
	addq	%rax, %rdi
	addq	$128, %rdi
	callq	_inl
	movq	%rax, %r14
	addl	$-16, %r15d
LBB0_3:
	movq	_cs5535_gpio_chip@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	movslq	%eax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %r14
	setne	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cs5535_gpio_chip,16,3          ## @cs5535_gpio_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cs5535_gpio_isset              ; -- Begin function cs5535_gpio_isset
	.p2align	2
_cs5535_gpio_isset:                     ; @cs5535_gpio_isset
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _cs5535_gpio_chip@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cs5535_gpio_chip@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #8]
	mov	w9, w20
	cmp	w19, #15
	b.hi	LBB0_2
; %bb.1:
	add	x0, x8, x9
	bl	_inl
	mov	x20, x0
	b	LBB0_3
LBB0_2:
	add	x8, x9, x8
	add	x0, x8, #128
	bl	_inl
	mov	x20, x0
	sub	w19, w19, #16
LBB0_3:
Lloh2:
	adrp	x0, _cs5535_gpio_chip@GOTPAGE
Lloh3:
	ldr	x0, [x0, _cs5535_gpio_chip@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	w8, #1
	lsl	w8, w8, w19
	sxtw	x8, w8
	tst	x20, x8
	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	_cs5535_gpio_chip,16,3          ; @cs5535_gpio_chip
.subsections_via_symbols
