	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sc27xx_led_register
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sc27xx_led_register:                   ## @sc27xx_led_register
	.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	%rsi, %r13
	movq	%rdi, %r14
	movl	8(%rsi), %edi
	callq	_sc27xx_led_init
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_SC27XX_LEDS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	$48, %ebx
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SC27XX_LEDS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$56, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	cmpl	$0, (%rcx,%rbx)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -48(%rcx,%rbx)
	movq	%r13, -8(%rcx,%rbx)
	movq	_sc27xx_led_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rcx,%rbx)
	movq	_sc27xx_led_pattern_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rcx,%rbx)
	movq	_sc27xx_led_pattern_clear@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rcx,%rbx)
	leaq	-40(%rcx,%rbx), %rsi
	leaq	L_.str(%rip), %rax
	movq	%rax, -40(%rcx,%rbx)
	movl	-16(%rcx,%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_led_classdev_register_ext
	testl	%eax, %eax
	je	LBB0_5
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SC27XX_LEDS_MAX,4,2            ## @SC27XX_LEDS_MAX
	.comm	_sc27xx_led_set,4,2             ## @sc27xx_led_set
	.comm	_sc27xx_led_pattern_set,4,2     ## @sc27xx_led_pattern_set
	.comm	_sc27xx_led_pattern_clear,4,2   ## @sc27xx_led_pattern_clear
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pattern"

L_.str.1:                               ## @.str.1
	.asciz	"sc27xx"

L_.str.2:                               ## @.str.2
	.asciz	":"

	.no_dead_strip	_sc27xx_led_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sc27xx_led_register
_sc27xx_led_register:                   ; @sc27xx_led_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #8]
	bl	_sc27xx_led_init
	cbnz	w0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x21, _SC27XX_LEDS_MAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SC27XX_LEDS_MAX@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x22, #0
	mov	w23, #48
Lloh2:
	adrp	x25, _sc27xx_led_set@GOTPAGE
Lloh3:
	ldr	x25, [x25, _sc27xx_led_set@GOTPAGEOFF]
Lloh4:
	adrp	x26, _sc27xx_led_pattern_set@GOTPAGE
Lloh5:
	ldr	x26, [x26, _sc27xx_led_pattern_set@GOTPAGEOFF]
Lloh6:
	adrp	x27, _sc27xx_led_pattern_clear@GOTPAGE
Lloh7:
	ldr	x27, [x27, _sc27xx_led_pattern_clear@GOTPAGEOFF]
Lloh8:
	adrp	x28, l_.str.1@PAGE
Lloh9:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh10:
	adrp	x24, l_.str.2@PAGE
Lloh11:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	add	x23, x23, #56
	cmp	x22, w8, sxtw
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldr	w10, [x9, x23]
	cbz	w10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x9, x23
Lloh12:
	adrp	x8, l_.str@PAGE
Lloh13:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x1, #-40]!
	stur	w22, [x1, #-8]
	str	x19, [x1, #32]
	ldr	w8, [x25]
	str	w8, [x1, #16]
	ldr	w8, [x26]
	str	w8, [x1, #12]
	ldr	w8, [x27]
	str	w8, [x1, #8]
	ldr	w8, [x1, #24]
	str	w8, [sp, #24]
	stp	x28, x24, [sp, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_devm_led_classdev_register_ext
	cbz	w0, LBB0_3
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SC27XX_LEDS_MAX,4,2            ; @SC27XX_LEDS_MAX
	.comm	_sc27xx_led_set,4,2             ; @sc27xx_led_set
	.comm	_sc27xx_led_pattern_set,4,2     ; @sc27xx_led_pattern_set
	.comm	_sc27xx_led_pattern_clear,4,2   ; @sc27xx_led_pattern_clear
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pattern"

l_.str.1:                               ; @.str.1
	.asciz	"sc27xx"

l_.str.2:                               ; @.str.2
	.asciz	":"

	.no_dead_strip	_sc27xx_led_register
.subsections_via_symbols
