	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm355x_remove
_lm355x_remove:                         ## @lm355x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_i2c_get_clientdata
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movl	20(%rbx), %edi
	movq	_REG_OPMODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	leaq	16(%rbx), %rdi
	callq	_led_classdev_unregister
	leaq	12(%rbx), %rdi
	callq	_led_classdev_unregister
	leaq	8(%rbx), %rdi
	callq	_led_classdev_unregister
	movq	_lm355x_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_OPMODE,8,3                 ## @REG_OPMODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is removed\n"

	.comm	_lm355x_name,8,3                ## @lm355x_name
	.no_dead_strip	_lm355x_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm355x_remove
_lm355x_remove:                         ; @lm355x_remove
	.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
	mov	x19, x0
	bl	_i2c_get_clientdata
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	w0, [x0, #20]
Lloh0:
	adrp	x9, _REG_OPMODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_OPMODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	w2, #0
	bl	_regmap_write
	add	x0, x20, #16
	bl	_led_classdev_unregister
	add	x0, x20, #12
	bl	_led_classdev_unregister
	add	x0, x20, #8
	bl	_led_classdev_unregister
Lloh3:
	adrp	x8, _lm355x_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lm355x_name@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w2, [x8, x9, lsl #2]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_OPMODE,8,3                 ; @REG_OPMODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is removed\n"

	.comm	_lm355x_name,8,3                ; @lm355x_name
	.no_dead_strip	_lm355x_remove
.subsections_via_symbols
