	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bd2802_register_led_classdev
_bd2802_register_led_classdev:          ## @bd2802_register_led_classdev
	.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, %rbx
	addq	$200, %rdi
	movq	_bd2802_led_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	_LED_OFF@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, 24(%rbx)
	movq	_bd2802_set_led1r_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_bd2802_set_led1r_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	192(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	32(%rbx), %r14
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	(%r13), %rax
	movq	%rax, 56(%rbx)
	movq	_bd2802_set_led1g_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_bd2802_set_led1g_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	192(%rbx), %rdi
	movq	%r14, %rsi
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	64(%rbx), %r15
	leaq	L_.str.3(%rip), %rax
	movq	%rax, 64(%rbx)
	movq	(%r13), %rax
	movq	%rax, 88(%rbx)
	movq	_bd2802_set_led1b_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	_bd2802_set_led1b_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	192(%rbx), %rdi
	movq	%r15, %rsi
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	leaq	96(%rbx), %rsi
	leaq	L_.str.4(%rip), %rax
	movq	%rax, 96(%rbx)
	movq	(%r13), %rax
	movq	%rax, 120(%rbx)
	movq	_bd2802_set_led2r_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	movq	_bd2802_set_led2r_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 108(%rbx)
	movq	192(%rbx), %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	leaq	128(%rbx), %rsi
	leaq	L_.str.5(%rip), %rax
	movq	%rax, 128(%rbx)
	movq	(%r13), %rax
	movq	%rax, 152(%rbx)
	movq	_bd2802_set_led2g_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 144(%rbx)
	movq	_bd2802_set_led2g_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 140(%rbx)
	movq	192(%rbx), %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	leaq	160(%rbx), %rsi
	leaq	L_.str.6(%rip), %rax
	movq	%rax, 160(%rbx)
	movq	(%r13), %rax
	movq	%rax, 184(%rbx)
	movq	_bd2802_set_led2b_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 176(%rbx)
	movq	_bd2802_set_led2b_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 172(%rbx)
	movq	_LED_CORE_SUSPENDRESUME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 168(%rbx)
	movq	192(%rbx), %rdi
	callq	_led_classdev_register
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jns	LBB0_16
## %bb.11:
	movl	%eax, %r13d
	movq	160(%rbx), %rdx
	movq	192(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_led_classdev_unregister
	movl	%r13d, %r12d
	jmp	LBB0_12
LBB0_1:
	movl	%eax, %r12d
	movq	(%rbx), %rdx
	movq	192(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_16
LBB0_3:
	movl	%eax, %r12d
	movq	32(%rbx), %rdx
	movq	192(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_15
LBB0_5:
	movl	%eax, %r12d
	movq	64(%rbx), %rdx
	movq	192(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_14
LBB0_7:
	movl	%eax, %r12d
	movq	96(%rbx), %rdx
	movq	192(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_13
LBB0_9:
	movl	%eax, %r12d
	movq	128(%rbx), %rdx
	movq	192(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_led_classdev_unregister
LBB0_13:
	movq	%r15, %rdi
	callq	_led_classdev_unregister
LBB0_14:
	movq	%r14, %rdi
	callq	_led_classdev_unregister
LBB0_15:
	movq	%rbx, %rdi
	callq	_led_classdev_unregister
LBB0_16:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bd2802_led_work,4,2            ## @bd2802_led_work
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"led1_R"

	.comm	_LED_OFF,8,3                    ## @LED_OFF
	.comm	_bd2802_set_led1r_brightness,4,2 ## @bd2802_set_led1r_brightness
	.comm	_bd2802_set_led1r_blink,4,2     ## @bd2802_set_led1r_blink
L_.str.1:                               ## @.str.1
	.asciz	"couldn't register LED %s\n"

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

	.comm	_bd2802_set_led1g_brightness,4,2 ## @bd2802_set_led1g_brightness
	.comm	_bd2802_set_led1g_blink,4,2     ## @bd2802_set_led1g_blink
L_.str.3:                               ## @.str.3
	.asciz	"led1_B"

	.comm	_bd2802_set_led1b_brightness,4,2 ## @bd2802_set_led1b_brightness
	.comm	_bd2802_set_led1b_blink,4,2     ## @bd2802_set_led1b_blink
L_.str.4:                               ## @.str.4
	.asciz	"led2_R"

	.comm	_bd2802_set_led2r_brightness,4,2 ## @bd2802_set_led2r_brightness
	.comm	_bd2802_set_led2r_blink,4,2     ## @bd2802_set_led2r_blink
L_.str.5:                               ## @.str.5
	.asciz	"led2_G"

	.comm	_bd2802_set_led2g_brightness,4,2 ## @bd2802_set_led2g_brightness
	.comm	_bd2802_set_led2g_blink,4,2     ## @bd2802_set_led2g_blink
L_.str.6:                               ## @.str.6
	.asciz	"led2_B"

	.comm	_bd2802_set_led2b_brightness,4,2 ## @bd2802_set_led2b_brightness
	.comm	_bd2802_set_led2b_blink,4,2     ## @bd2802_set_led2b_blink
	.comm	_LED_CORE_SUSPENDRESUME,4,2     ## @LED_CORE_SUSPENDRESUME
	.no_dead_strip	_bd2802_register_led_classdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bd2802_register_led_classdev
_bd2802_register_led_classdev:          ; @bd2802_register_led_classdev
	.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
	add	x0, x0, #200
Lloh0:
	adrp	x8, _bd2802_led_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bd2802_led_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x25, _LED_OFF@GOTPAGE
Lloh6:
	ldr	x25, [x25, _LED_OFF@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x25]
	str	x8, [x19, #24]
Lloh7:
	adrp	x8, _bd2802_set_led1r_brightness@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bd2802_set_led1r_brightness@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _bd2802_set_led1r_blink@GOTPAGE
Lloh11:
	ldr	x9, [x9, _bd2802_set_led1r_blink@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	ldr	x0, [x19, #192]
	mov	x1, x19
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh13:
	adrp	x8, l_.str.2@PAGE
Lloh14:
	add	x8, x8, l_.str.2@PAGEOFF
	mov	x20, x19
	str	x8, [x20, #32]!
	ldr	x8, [x25]
	str	x8, [x20, #24]
Lloh15:
	adrp	x8, _bd2802_set_led1g_brightness@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bd2802_set_led1g_brightness@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _bd2802_set_led1g_blink@GOTPAGE
Lloh19:
	ldr	x9, [x9, _bd2802_set_led1g_blink@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	ldr	x0, [x20, #160]
	mov	x1, x20
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_8
; %bb.2:
Lloh21:
	adrp	x8, l_.str.3@PAGE
Lloh22:
	add	x8, x8, l_.str.3@PAGEOFF
	mov	x21, x19
	str	x8, [x21, #64]!
	ldr	x8, [x25]
	str	x8, [x21, #24]
Lloh23:
	adrp	x8, _bd2802_set_led1b_brightness@GOTPAGE
Lloh24:
	ldr	x8, [x8, _bd2802_set_led1b_brightness@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _bd2802_set_led1b_blink@GOTPAGE
Lloh27:
	ldr	x9, [x9, _bd2802_set_led1b_blink@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #12]
	ldr	x0, [x21, #128]
	mov	x1, x21
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_9
; %bb.3:
Lloh29:
	adrp	x8, l_.str.4@PAGE
Lloh30:
	add	x8, x8, l_.str.4@PAGEOFF
	mov	x23, x19
	str	x8, [x23, #96]!
	ldr	x8, [x25]
	str	x8, [x23, #24]
Lloh31:
	adrp	x8, _bd2802_set_led2r_brightness@GOTPAGE
Lloh32:
	ldr	x8, [x8, _bd2802_set_led2r_brightness@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _bd2802_set_led2r_blink@GOTPAGE
Lloh35:
	ldr	x9, [x9, _bd2802_set_led2r_blink@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [x23, #12]
	ldr	x0, [x23, #96]
	mov	x1, x23
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_10
; %bb.4:
Lloh37:
	adrp	x8, l_.str.5@PAGE
Lloh38:
	add	x8, x8, l_.str.5@PAGEOFF
	mov	x24, x19
	str	x8, [x24, #128]!
	ldr	x8, [x25]
	str	x8, [x24, #24]
Lloh39:
	adrp	x8, _bd2802_set_led2g_brightness@GOTPAGE
Lloh40:
	ldr	x8, [x8, _bd2802_set_led2g_brightness@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _bd2802_set_led2g_blink@GOTPAGE
Lloh43:
	ldr	x9, [x9, _bd2802_set_led2g_blink@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	stp	w9, w8, [x24, #12]
	ldr	x0, [x24, #64]
	mov	x1, x24
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_11
; %bb.5:
Lloh45:
	adrp	x8, l_.str.6@PAGE
Lloh46:
	add	x8, x8, l_.str.6@PAGEOFF
	mov	x1, x19
	str	x8, [x1, #160]!
	ldr	x8, [x25]
	str	x8, [x1, #24]
Lloh47:
	adrp	x8, _bd2802_set_led2b_brightness@GOTPAGE
Lloh48:
	ldr	x8, [x8, _bd2802_set_led2b_brightness@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x1, #16]
Lloh50:
	adrp	x8, _LED_CORE_SUSPENDRESUME@GOTPAGE
Lloh51:
	ldr	x8, [x8, _LED_CORE_SUSPENDRESUME@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	ldr	w9, [x1, #8]
	orr	w8, w9, w8
Lloh53:
	adrp	x9, _bd2802_set_led2b_blink@GOTPAGE
Lloh54:
	ldr	x9, [x9, _bd2802_set_led2b_blink@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	stp	w8, w9, [x1, #8]
	ldr	x0, [x1, #32]
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_12
; %bb.6:
	mov	w22, #0
	b	LBB0_17
LBB0_7:
	mov	x22, x0
	ldr	x0, [x19, #192]
	ldr	x2, [x19]
Lloh56:
	adrp	x1, l_.str.1@PAGE
Lloh57:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_17
LBB0_8:
	mov	x22, x0
	ldr	x0, [x19, #192]
	ldr	x2, [x19, #32]
Lloh58:
	adrp	x1, l_.str.1@PAGE
Lloh59:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_16
LBB0_9:
	mov	x22, x0
	ldr	x0, [x19, #192]
	ldr	x2, [x19, #64]
Lloh60:
	adrp	x1, l_.str.1@PAGE
Lloh61:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_15
LBB0_10:
	mov	x22, x0
	ldr	x0, [x19, #192]
	ldr	x2, [x19, #96]
Lloh62:
	adrp	x1, l_.str.1@PAGE
Lloh63:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_14
LBB0_11:
	mov	x22, x0
	ldr	x0, [x19, #192]
	ldr	x2, [x19, #128]
Lloh64:
	adrp	x1, l_.str.1@PAGE
Lloh65:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_13
LBB0_12:
	mov	x22, x0
	ldr	x0, [x19, #192]
	ldr	x2, [x19, #160]
Lloh66:
	adrp	x1, l_.str.1@PAGE
Lloh67:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	mov	x0, x24
	bl	_led_classdev_unregister
LBB0_13:
	mov	x0, x23
	bl	_led_classdev_unregister
LBB0_14:
	mov	x0, x21
	bl	_led_classdev_unregister
LBB0_15:
	mov	x0, x20
	bl	_led_classdev_unregister
LBB0_16:
	mov	x0, x19
	bl	_led_classdev_unregister
LBB0_17:
	mov	x0, x22
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_bd2802_led_work,4,2            ; @bd2802_led_work
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"led1_R"

	.comm	_LED_OFF,8,3                    ; @LED_OFF
	.comm	_bd2802_set_led1r_brightness,4,2 ; @bd2802_set_led1r_brightness
	.comm	_bd2802_set_led1r_blink,4,2     ; @bd2802_set_led1r_blink
l_.str.1:                               ; @.str.1
	.asciz	"couldn't register LED %s\n"

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

	.comm	_bd2802_set_led1g_brightness,4,2 ; @bd2802_set_led1g_brightness
	.comm	_bd2802_set_led1g_blink,4,2     ; @bd2802_set_led1g_blink
l_.str.3:                               ; @.str.3
	.asciz	"led1_B"

	.comm	_bd2802_set_led1b_brightness,4,2 ; @bd2802_set_led1b_brightness
	.comm	_bd2802_set_led1b_blink,4,2     ; @bd2802_set_led1b_blink
l_.str.4:                               ; @.str.4
	.asciz	"led2_R"

	.comm	_bd2802_set_led2r_brightness,4,2 ; @bd2802_set_led2r_brightness
	.comm	_bd2802_set_led2r_blink,4,2     ; @bd2802_set_led2r_blink
l_.str.5:                               ; @.str.5
	.asciz	"led2_G"

	.comm	_bd2802_set_led2g_brightness,4,2 ; @bd2802_set_led2g_brightness
	.comm	_bd2802_set_led2g_blink,4,2     ; @bd2802_set_led2g_blink
l_.str.6:                               ; @.str.6
	.asciz	"led2_B"

	.comm	_bd2802_set_led2b_brightness,4,2 ; @bd2802_set_led2b_brightness
	.comm	_bd2802_set_led2b_blink,4,2     ; @bd2802_set_led2b_blink
	.comm	_LED_CORE_SUSPENDRESUME,4,2     ; @LED_CORE_SUSPENDRESUME
	.no_dead_strip	_bd2802_register_led_classdev
.subsections_via_symbols
