	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stac_capture_led_hook
_stac_capture_led_hook:                 ## @stac_capture_led_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rsi), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.5:
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.6:
	movl	$0, (%rax)
	jmp	LBB0_7
LBB0_2:
	movq	8(%rcx), %rcx
	xorl	%edx, %edx
	testq	%rcx, %rcx
	sete	%dl
	cmpl	%edx, (%rax)
	jne	LBB0_3
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	movl	%edx, (%rax)
	testq	%rcx, %rcx
	je	LBB0_4
LBB0_7:
	movl	16(%rax), %ecx
	notl	%ecx
	andl	4(%rax), %ecx
LBB0_8:
	movl	%ecx, 4(%rax)
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	popq	%rbp
	jmp	_stac_gpio_set                  ## TAILCALL
LBB0_4:
	movl	4(%rax), %ecx
	orl	16(%rax), %ecx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stac_capture_led_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stac_capture_led_hook
_stac_capture_led_hook:                 ; @stac_capture_led_hook
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x1]
	ldr	x10, [x9]
	cbz	x10, LBB0_4
; %bb.2:
	ldr	w9, [x8]
	cbz	w9, LBB0_5
; %bb.3:
	str	wzr, [x8]
	b	LBB0_7
LBB0_4:
	ldr	x9, [x9, #8]
	cmp	x9, #0
	cset	w10, eq
	ldr	w11, [x8]
	cmp	w11, w10
	b.ne	LBB0_6
LBB0_5:
	ret
LBB0_6:
	str	w10, [x8]
	cbz	x9, LBB0_9
LBB0_7:
	ldr	w9, [x8, #16]
	ldr	w10, [x8, #4]
	bic	w3, w10, w9
LBB0_8:
	str	w3, [x8, #4]
	ldp	w2, w1, [x8, #8]
	b	_stac_gpio_set
LBB0_9:
	ldr	w9, [x8, #16]
	ldr	w10, [x8, #4]
	orr	w3, w10, w9
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stac_capture_led_hook
.subsections_via_symbols
