	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_nu801_create
_led_nu801_create:                      ## @led_nu801_create
	.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
	movl	%ecx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	16(%rdi), %r13
	movslq	%edx, %rax
	leaq	(%rax,%rax,4), %rbx
	movl	32(%r13,%rbx,8), %edi
	movl	4(%r12), %r9d
	movl	8(%r12), %ecx
	notl	%eax
	addl	(%r12), %eax
	movq	_NUM_COLORS@GOTPCREL(%rip), %rsi
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%rsi)
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_scnprintf
	movl	32(%r13,%rbx,8), %eax
	leaq	8(,%rbx,8), %rsi
	addq	%r13, %rsi
	movl	%eax, 20(%r13,%rbx,8)
	movq	_led_nu801_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13,%rbx,8)
	movl	%r15d, (%r13,%rbx,8)
	movq	%r12, 24(%r13,%rbx,8)
	movq	%r14, %rdi
	callq	_led_classdev_register
	movl	%eax, %r14d
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jns	LBB0_2
## %bb.1:
	leaq	(,%rbx,8), %rdi
	addq	%r13, %rdi
	callq	_kfree
	movl	%r14d, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%s:%s%d"

	.comm	_NUM_COLORS,4,2                 ## @NUM_COLORS
	.comm	_led_nu801_set,4,2              ## @led_nu801_set
	.no_dead_strip	_led_nu801_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_nu801_create
_led_nu801_create:                      ; @led_nu801_create
	.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	x20, x3
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #16]
	mov	w9, #40
	smaddl	x19, w2, w9, x8
	ldr	w0, [x19, #32]
	ldp	w5, w3, [x22, #4]
	ldr	w8, [x22]
	mvn	w9, w2
	add	w8, w8, w9
Lloh0:
	adrp	x9, _NUM_COLORS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUM_COLORS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w6, w8, w9
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_scnprintf
	ldr	w8, [x19, #32]
	add	x1, x19, #8
	str	w8, [x19, #20]
Lloh5:
	adrp	x8, _led_nu801_set@GOTPAGE
Lloh6:
	ldr	x8, [x8, _led_nu801_set@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	w20, [x19]
	str	x22, [x19, #24]
	mov	x0, x21
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x0
	mov	x0, x19
	bl	_kfree
LBB0_3:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%s:%s%d"

	.comm	_NUM_COLORS,4,2                 ; @NUM_COLORS
	.comm	_led_nu801_set,4,2              ; @led_nu801_set
	.no_dead_strip	_led_nu801_create
.subsections_via_symbols
