	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spics_request
_spics_request:                         ## @spics_request
	.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
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	movl	24(%rax), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 24(%rbx)
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	addq	16(%rbx), %rdi
	callq	_readl_relaxed
	movb	(%rbx), %cl
	movb	4(%rbx), %dl
	btsl	%ecx, %eax
	btsl	%edx, %eax
	movq	8(%rbx), %rsi
	addq	16(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel_relaxed
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spics_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spics_request
_spics_request:                         ; @spics_request
	.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
	bl	_gpiochip_get_data
	ldr	w8, [x0, #24]
	add	w9, w8, #1
	str	w9, [x0, #24]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldp	x9, x8, [x0, #8]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	w8, #1
	ldp	w9, w10, [x19]
	lsl	w9, w8, w9
	orr	w9, w9, w0
	lsl	w8, w8, w10
	orr	w0, w9, w8
	ldp	x9, x8, [x19, #8]
	add	x1, x9, x8
	bl	_writel_relaxed
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spics_request
.subsections_via_symbols
