	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blinkm_remove
_blinkm_remove:                         ## @blinkm_remove
	.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
	movq	%rdi, %r14
	callq	_i2c_get_clientdata
	movq	%rax, %rbx
	movq	24(%rax), %rdi
	callq	_led_classdev_unregister
	movq	24(%rbx), %rdi
	addq	$4, %rdi
	callq	_led_classdev_unregister
	movq	24(%rbx), %rdi
	addq	$8, %rdi
	callq	_led_classdev_unregister
	movq	$0, (%rbx)
	movl	$0, 8(%rbx)
	movq	_BLM_FADE_RGB@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_blinkm_transfer_hw
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_2:
	movq	$0, 12(%rbx)
	movl	$0, 20(%rbx)
	movq	_BLM_FADE_HSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_blinkm_transfer_hw
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_4:
	movl	$255, (%rbx)
	movq	_BLM_GO_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_blinkm_transfer_hw
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_6:
	movl	$0, (%rbx)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_blinkm_transfer_hw
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_8:
	movq	_blinkm_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLM_FADE_RGB,4,2               ## @BLM_FADE_RGB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failure in blinkm_remove ignored. Continuing.\n"

	.comm	_BLM_FADE_HSB,4,2               ## @BLM_FADE_HSB
	.comm	_BLM_GO_RGB,4,2                 ## @BLM_GO_RGB
	.comm	_blinkm_group,4,2               ## @blinkm_group
	.no_dead_strip	_blinkm_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blinkm_remove
_blinkm_remove:                         ; @blinkm_remove
	.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
	bl	_i2c_get_clientdata
	mov	x20, x0
	ldr	x0, [x0, #24]
	bl	_led_classdev_unregister
	ldr	x8, [x20, #24]
	add	x0, x8, #4
	bl	_led_classdev_unregister
	ldr	x8, [x20, #24]
	add	x0, x8, #8
	bl	_led_classdev_unregister
	str	xzr, [x20]
	str	wzr, [x20, #8]
Lloh0:
	adrp	x21, _BLM_FADE_RGB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BLM_FADE_RGB@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_blinkm_transfer_hw
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_2:
	str	xzr, [x20, #16]
	str	wzr, [x20, #12]
Lloh4:
	adrp	x8, _BLM_FADE_HSB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BLM_FADE_HSB@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_blinkm_transfer_hw
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
	mov	w8, #255
	str	w8, [x20]
Lloh9:
	adrp	x8, _BLM_GO_RGB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLM_GO_RGB@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_blinkm_transfer_hw
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_6:
	str	wzr, [x20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_blinkm_transfer_hw
	tbz	w0, #31, LBB0_8
; %bb.7:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_8:
Lloh16:
	adrp	x1, _blinkm_group@GOTPAGE
Lloh17:
	ldr	x1, [x1, _blinkm_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BLM_FADE_RGB,4,2               ; @BLM_FADE_RGB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failure in blinkm_remove ignored. Continuing.\n"

	.comm	_BLM_FADE_HSB,4,2               ; @BLM_FADE_HSB
	.comm	_BLM_GO_RGB,4,2                 ; @BLM_GO_RGB
	.comm	_blinkm_group,4,2               ; @blinkm_group
	.no_dead_strip	_blinkm_remove
.subsections_via_symbols
