	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_picolcd_exit_leds              ## -- Begin function picolcd_exit_leds
	.p2align	4, 0x90
_picolcd_exit_leds:                     ## @picolcd_exit_leds
	.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
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	$0, (%rax)
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_2:
	movq	(%r14), %rax
	movq	8(%rax), %rbx
	movq	$0, 8(%rax)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movq	(%r14), %rax
	movq	16(%rax), %rbx
	movq	$0, 16(%rax)
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	movq	(%r14), %rax
	movq	24(%rax), %rbx
	movq	$0, 24(%rax)
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_8:
	movq	(%r14), %rax
	movq	32(%rax), %rbx
	movq	$0, 32(%rax)
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_10:
	movq	(%r14), %rax
	movq	40(%rax), %rbx
	movq	$0, 40(%rax)
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_12:
	movq	(%r14), %rax
	movq	48(%rax), %rbx
	movq	$0, 48(%rax)
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	callq	_kfree
LBB0_14:
	movq	(%r14), %rax
	movq	56(%rax), %rbx
	movq	$0, 56(%rax)
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_picolcd_exit_leds              ; -- Begin function picolcd_exit_leds
	.p2align	2
_picolcd_exit_leds:                     ; @picolcd_exit_leds
	.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
	ldr	x8, [x0]
	ldr	x20, [x8]
	str	xzr, [x8]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_2:
	ldr	x8, [x19]
	ldr	x20, [x8, #8]
	str	xzr, [x8, #8]
	cbz	x20, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_4:
	ldr	x8, [x19]
	ldr	x20, [x8, #16]
	str	xzr, [x8, #16]
	cbz	x20, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_6:
	ldr	x8, [x19]
	ldr	x20, [x8, #24]
	str	xzr, [x8, #24]
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_8:
	ldr	x8, [x19]
	ldr	x20, [x8, #32]
	str	xzr, [x8, #32]
	cbz	x20, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_10:
	ldr	x8, [x19]
	ldr	x20, [x8, #40]
	str	xzr, [x8, #40]
	cbz	x20, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_12:
	ldr	x8, [x19]
	ldr	x20, [x8, #48]
	str	xzr, [x8, #48]
	cbz	x20, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_led_classdev_unregister
	mov	x0, x20
	bl	_kfree
LBB0_14:
	ldr	x8, [x19]
	ldr	x19, [x8, #56]
	str	xzr, [x8, #56]
	cbz	x19, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_led_classdev_unregister
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
