	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_tri_layer_user          ## -- Begin function update_tri_layer_user
	.p2align	4, 0x90
_update_tri_layer_user:                 ## @update_tri_layer_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	__NR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__NR_L3@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	__FX@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_update_tri_layer
	movl	(%rbx), %edi
	callq	_layer_state_is
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%r14), %edi
	callq	_layer_state_is
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_KC_ALGR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_unregister_code                ## TAILCALL
LBB0_2:
	movq	_KC_ALGR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_register_code                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__NR,4,2                        ## @_NR
	.comm	__NR_L3,4,2                     ## @_NR_L3
	.comm	__FX,4,2                        ## @_FX
	.comm	_KC_ALGR,4,2                    ## @KC_ALGR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_tri_layer_user          ; -- Begin function update_tri_layer_user
	.p2align	2
_update_tri_layer_user:                 ; @update_tri_layer_user
	.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
Lloh0:
	adrp	x8, __NR@GOTPAGE
Lloh1:
	ldr	x8, [x8, __NR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x20, __NR_L3@GOTPAGE
Lloh4:
	ldr	x20, [x20, __NR_L3@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh5:
	adrp	x19, __FX@GOTPAGE
Lloh6:
	ldr	x19, [x19, __FX@GOTPAGEOFF]
	ldr	w2, [x19]
	bl	_update_tri_layer
	ldr	w0, [x20]
	bl	_layer_state_is
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_layer_state_is
	cbz	x0, LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _KC_ALGR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KC_ALGR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_unregister_code
LBB0_3:
Lloh10:
	adrp	x8, _KC_ALGR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KC_ALGR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_register_code
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	__NR,4,2                        ; @_NR
	.comm	__NR_L3,4,2                     ; @_NR_L3
	.comm	__FX,4,2                        ; @_FX
	.comm	_KC_ALGR,4,2                    ; @KC_ALGR
.subsections_via_symbols
