	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5592r_gpio_get
_ad5592r_gpio_get:                      ## @ad5592r_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	leaq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	(%rbx), %r12d
	movl	%r14d, %edi
	callq	_BIT
	testl	%r12d, %eax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %r12d
	movl	%r12d, -36(%rbp)
	movq	%r15, %rdi
	callq	_mutex_unlock
	jmp	LBB0_4
LBB0_2:
	movq	16(%rbx), %rax
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	js	LBB0_5
## %bb.3:
	movl	-36(%rbp), %r12d
LBB0_4:
	movl	%r14d, %edi
	callq	_BIT
	xorl	%ebx, %ebx
	testl	%r12d, %eax
	setne	%bl
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ad5592r_gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5592r_gpio_get
_ad5592r_gpio_get:                      ; @ad5592r_gpio_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	w22, [x21]
	mov	x0, x19
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	ldr	w21, [x21, #4]
	str	w21, [sp, #12]
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_4
LBB0_2:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	add	x1, sp, #12
	mov	x0, x21
	blr	x8
	mov	x21, x0
	mov	x0, x20
	bl	_mutex_unlock
	tbnz	w21, #31, LBB0_5
; %bb.3:
	ldr	w21, [sp, #12]
LBB0_4:
	mov	x0, x19
	bl	_BIT
	tst	w0, w21
	cset	w21, ne
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ad5592r_gpio_get
.subsections_via_symbols
