	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_nu801_probe
_led_nu801_probe:                       ## @led_nu801_probe
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	(%r13), %edi
	testl	%edi, %edi
	jne	LBB0_4
LBB0_2:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_leds_nu801_create_of
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movl	(%r13), %edi
LBB0_4:
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	cmpl	$0, (%r13)
	jle	LBB0_16
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	-4(%rax), %r12
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	addq	%r15, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_led_nu801_create_chain
	testl	%eax, %eax
	js	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	addq	$4, %r15
	cmpq	%rax, %r14
	jl	LBB0_7
LBB0_16:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_8:
	movl	%eax, %ebx
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.9:
	addq	%r15, %r12
	incq	%r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_led_nu801_delete_chain
	decq	%r14
	addq	$-4, %r12
	cmpq	$1, %r14
	jg	LBB0_10
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_led_nu801_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_nu801_probe
_led_nu801_probe:                       ; @led_nu801_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x23, [x0]
	cbz	x23, LBB0_2
; %bb.1:
	ldr	w8, [x23]
	cbnz	w8, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_leds_nu801_create_of
	cbz	x0, LBB0_11
; %bb.3:
	ldr	w8, [x23]
LBB0_4:
	lsl	w0, w8, #2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x20, x0
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x25, #0
	mov	x24, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	add	x0, x8, x25
	add	x22, x20, x25
	mov	x1, x22
	mov	x2, x19
	bl	_led_nu801_create_chain
	tbnz	w0, #31, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	add	x25, x25, #4
	cmp	x24, x8
	b.lt	LBB0_7
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	w21, #0
	b	LBB0_17
LBB0_10:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_17
LBB0_13:
	mov	x21, x0
	cbz	w24, LBB0_16
; %bb.14:
	sub	x19, x22, #4
	add	x22, x24, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_led_nu801_delete_chain
	sub	x22, x22, #1
	sub	x19, x19, #4
	cmp	x22, #1
	b.gt	LBB0_15
LBB0_16:
	mov	x0, x20
	bl	_kfree
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_led_nu801_probe
.subsections_via_symbols
