	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_function                ## -- Begin function action_function
	.p2align	4, 0x90
_action_function:                       ## @action_function
	.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
	movl	%esi, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	cmpl	$129, %esi
	sete	%al
	movl	$2, %edi
	subl	%eax, %edi
	cmpl	$0, 8(%rbx)
	je	LBB0_6
## %bb.2:
	callq	_layer_on
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$0, 4(%rbx)
	je	LBB0_4
LBB0_7:
	movl	$0, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_layer_off                      ## TAILCALL
LBB0_4:
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.5:
	movl	$3, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_layer_invert                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_function                ; -- Begin function action_function
	.p2align	2
_action_function:                       ; @action_function
	.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
	and	w8, w1, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w1, #129
	mov	w9, #1
	cinc	w0, w9, ne
	cbz	w8, LBB0_6
; %bb.2:
	bl	_layer_on
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w9, [x19, #4]
	cbz	w9, LBB0_7
LBB0_4:
	str	wzr, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_layer_off
LBB0_7:
	cmp	w8, #3
	b.lt	LBB0_5
; %bb.8:
	mov	w0, #3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_layer_invert
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
