	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_set_value
_zx_set_value:                          ## @zx_set_value
	.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	%edx, %r15d
	movl	%esi, %ebx
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_BIT
	testl	%r15d, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_ZX_GPIO_DO0@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_ZX_GPIO_DO1@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rsi
	addq	(%r14), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writew_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ZX_GPIO_DO1,8,3                ## @ZX_GPIO_DO1
	.comm	_ZX_GPIO_DO0,8,3                ## @ZX_GPIO_DO0
	.no_dead_strip	_zx_set_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_set_value
_zx_set_value:                          ; @zx_set_value
	.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, x2
	mov	x20, x1
	bl	_gpiochip_get_data
	mov	x21, x0
	mov	x0, x20
	bl	_BIT
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _ZX_GPIO_DO0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZX_GPIO_DO0@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ZX_GPIO_DO1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ZX_GPIO_DO1@GOTPAGEOFF]
	cmp	w19, #0
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	b	_writew_relaxed
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ZX_GPIO_DO1,8,3                ; @ZX_GPIO_DO1
	.comm	_ZX_GPIO_DO0,8,3                ; @ZX_GPIO_DO0
	.no_dead_strip	_zx_set_value
.subsections_via_symbols
