	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_led
_set_led:                               ## @set_led
	.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, %r14d
	movq	%rdi, %rbx
	movq	_TP6800_R18_GPIO_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_reg_r
	movq	(%rbx), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	testl	%r14d, %r14d
	sete	%dl
	andl	$-65, %eax
	shll	$6, %edx
	orl	%eax, %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_w                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TP6800_R18_GPIO_DATA,4,2       ## @TP6800_R18_GPIO_DATA
	.no_dead_strip	_set_led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_led
_set_led:                               ; @set_led
	.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, x0
	cmp	w1, #0
	cset	w20, eq
Lloh0:
	adrp	x21, _TP6800_R18_GPIO_DATA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TP6800_R18_GPIO_DATA@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w2, [x8]
	bfi	w2, w20, #6, #1
	ldr	w1, [x21]
	mov	x0, x19
	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	_reg_w
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TP6800_R18_GPIO_DATA,4,2       ; @TP6800_R18_GPIO_DATA
	.no_dead_strip	_set_led
.subsections_via_symbols
