	.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
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rdi)
	movq	_LED_OFF@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, 24(%rdi)
	movq	_bd2802_set_led1r_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_bd2802_set_led1r_blink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	192(%rdi), %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
	.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
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _LED_OFF@GOTPAGE
Lloh3:
	ldr	x25, [x25, _LED_OFF@GOTPAGEOFF]
	str	x8, [x0]
	ldr	x8, [x25]
	str	x8, [x0, #24]
Lloh4:
	adrp	x8, _bd2802_set_led1r_brightness@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bd2802_set_led1r_brightness@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _bd2802_set_led1r_blink@GOTPAGE
Lloh8:
	ldr	x9, [x9, _bd2802_set_led1r_blink@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #12]
	ldr	x0, [x0, #192]
	mov	x1, x19
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
	mov	x20, x19
	str	x8, [x20, #32]!
	ldr	x8, [x25]
	str	x8, [x20, #24]
Lloh12:
	adrp	x8, _bd2802_set_led1g_brightness@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bd2802_set_led1g_brightness@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _bd2802_set_led1g_blink@GOTPAGE
Lloh16:
	ldr	x9, [x9, _bd2802_set_led1g_blink@GOTPAGEOFF]
Lloh17:
	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:
Lloh18:
	adrp	x8, l_.str.3@PAGE
Lloh19:
	add	x8, x8, l_.str.3@PAGEOFF
	mov	x21, x19
	str	x8, [x21, #64]!
	ldr	x8, [x25]
	str	x8, [x21, #24]
Lloh20:
	adrp	x8, _bd2802_set_led1b_brightness@GOTPAGE
Lloh21:
	ldr	x8, [x8, _bd2802_set_led1b_brightness@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _bd2802_set_led1b_blink@GOTPAGE
Lloh24:
	ldr	x9, [x9, _bd2802_set_led1b_blink@GOTPAGEOFF]
Lloh25:
	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:
Lloh26:
	adrp	x8, l_.str.4@PAGE
Lloh27:
	add	x8, x8, l_.str.4@PAGEOFF
	mov	x23, x19
	str	x8, [x23, #96]!
	ldr	x8, [x25]
	str	x8, [x23, #24]
Lloh28:
	adrp	x8, _bd2802_set_led2r_brightness@GOTPAGE
Lloh29:
	ldr	x8, [x8, _bd2802_set_led2r_brightness@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _bd2802_set_led2r_blink@GOTPAGE
Lloh32:
	ldr	x9, [x9, _bd2802_set_led2r_blink@GOTPAGEOFF]
Lloh33:
	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:
Lloh34:
	adrp	x8, l_.str.5@PAGE
Lloh35:
	add	x8, x8, l_.str.5@PAGEOFF
	mov	x24, x19
	str	x8, [x24, #128]!
	ldr	x8, [x25]
	str	x8, [x24, #24]
Lloh36:
	adrp	x8, _bd2802_set_led2g_brightness@GOTPAGE
Lloh37:
	ldr	x8, [x8, _bd2802_set_led2g_brightness@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _bd2802_set_led2g_blink@GOTPAGE
Lloh40:
	ldr	x9, [x9, _bd2802_set_led2g_blink@GOTPAGEOFF]
Lloh41:
	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:
Lloh42:
	adrp	x8, l_.str.6@PAGE
Lloh43:
	add	x8, x8, l_.str.6@PAGEOFF
	mov	x1, x19
	str	x8, [x1, #160]!
	ldr	x8, [x25]
	str	x8, [x1, #24]
Lloh44:
	adrp	x8, _bd2802_set_led2b_brightness@GOTPAGE
Lloh45:
	ldr	x8, [x8, _bd2802_set_led2b_brightness@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	str	w8, [x1, #16]
Lloh47:
	adrp	x8, _LED_CORE_SUSPENDRESUME@GOTPAGE
Lloh48:
	ldr	x8, [x8, _LED_CORE_SUSPENDRESUME@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w9, [x1, #8]
	orr	w8, w9, w8
Lloh50:
	adrp	x9, _bd2802_set_led2b_blink@GOTPAGE
Lloh51:
	ldr	x9, [x9, _bd2802_set_led2b_blink@GOTPAGEOFF]
Lloh52:
	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]
Lloh53:
	adrp	x1, l_.str.1@PAGE
Lloh54:
	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]
Lloh55:
	adrp	x1, l_.str.1@PAGE
Lloh56:
	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]
Lloh57:
	adrp	x1, l_.str.1@PAGE
Lloh58:
	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]
Lloh59:
	adrp	x1, l_.str.1@PAGE
Lloh60:
	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]
Lloh61:
	adrp	x1, l_.str.1@PAGE
Lloh62:
	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]
Lloh63:
	adrp	x1, l_.str.1@PAGE
Lloh64:
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.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
