	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bl_trig_invert_store
_bl_trig_invert_store:                  ## @bl_trig_invert_store
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rdi, %rbx
	callq	_led_trigger_get_led
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_led_trigger_get_drvdata
	movq	%rax, %r12
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rax
	cmpq	$2, %rax
	jb	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %r15d
	jmp	LBB0_8
LBB0_4:
	movq	%rax, (%r12)
	movq	8(%r12), %rcx
	movq	_BLANK@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	sete	%sil
	cmpq	%rsi, %rax
	je	LBB0_5
## %bb.6:
	movq	_LED_OFF@GOTPCREL(%rip), %r12
	jmp	LBB0_7
LBB0_5:
	addq	$16, %r12
LBB0_7:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_led_set_brightness_nosleep
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BLANK,8,3                      ## @BLANK
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.no_dead_strip	_bl_trig_invert_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bl_trig_invert_store
_bl_trig_invert_store:                  ; @bl_trig_invert_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x22, x2
	mov	x21, x0
	bl	_led_trigger_get_led
	mov	x20, x0
	mov	x0, x21
	bl	_led_trigger_get_drvdata
	mov	x21, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #10
	bl	_kstrtoul
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, #2
	b.lo	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	str	x8, [x21]
	ldr	x9, [x21, #8]
Lloh3:
	adrp	x10, _BLANK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BLANK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	cset	w9, eq
	add	x10, x21, #16
Lloh6:
	adrp	x11, _LED_OFF@GOTPAGE
Lloh7:
	ldr	x11, [x11, _LED_OFF@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	mov	x0, x20
	bl	_led_set_brightness_nosleep
	mov	x0, x19
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BLANK,8,3                      ; @BLANK
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_bl_trig_invert_store
.subsections_via_symbols
