	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function magician_set_input
_magician_set_input:                    ## @magician_set_input
	.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
	movq	_magician_in_sel@GOTPCREL(%rip), %rcx
	movq	(%rsi), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	cmpl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movl	%eax, (%rcx)
	movl	$1, %ebx
	movl	$1, %esi
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.3:
	xorl	%esi, %esi
LBB0_4:
	movq	_EGPIO_MAGICIAN_IN_SEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpio_set_value
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_magician_in_sel,4,2            ## @magician_in_sel
	.comm	_EGPIO_MAGICIAN_IN_SEL1,4,2     ## @EGPIO_MAGICIAN_IN_SEL1
	.no_dead_strip	_magician_set_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function magician_set_input
_magician_set_input:                    ; @magician_set_input
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, _magician_in_sel@GOTPAGE
Lloh1:
	ldr	x9, [x9, _magician_in_sel@GOTPAGEOFF]
	ldr	w10, [x9]
	ldr	x8, [x1]
	ldr	w8, [x8]
	cmp	w10, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w1, #0
	b	LBB0_6
LBB0_2:
	str	w8, [x9]
	mov	w1, #1
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.4:
	mov	w1, #0
LBB0_5:
Lloh2:
	adrp	x8, _EGPIO_MAGICIAN_IN_SEL1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EGPIO_MAGICIAN_IN_SEL1@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_gpio_set_value
	mov	w1, #1
LBB0_6:
	mov	x0, x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_magician_in_sel,4,2            ; @magician_in_sel
	.comm	_EGPIO_MAGICIAN_IN_SEL1,4,2     ; @EGPIO_MAGICIAN_IN_SEL1
	.no_dead_strip	_magician_set_input
.subsections_via_symbols
