	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_parse_fwnode_props
_led_parse_fwnode_props:                ## @led_parse_fwnode_props
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fwnode_property_present
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	addq	$32, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_fwnode_property_read_string
	testl	%eax, %eax
	je	LBB0_18
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fwnode_property_present
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_8:
	movq	(%r15), %rax
	movq	_LED_COLOR_ID_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_9
## %bb.10:
	movl	$1, 8(%r15)
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fwnode_property_present
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	leaq	28(%r15), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fwnode_property_read_string
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_14:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fwnode_property_present
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	leaq	16(%r15), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_4
LBB0_17:
	movl	$1, 24(%r15)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"label"

L_.str.1:                               ## @.str.1
	.asciz	"Error parsing 'label' property (%d)\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"Error parsing 'color' property (%d)\n"

	.comm	_LED_COLOR_ID_MAX,8,3           ## @LED_COLOR_ID_MAX
L_.str.4:                               ## @.str.4
	.asciz	"LED color identifier out of range\n"

L_.str.5:                               ## @.str.5
	.asciz	"function"

L_.str.6:                               ## @.str.6
	.asciz	"Error parsing 'function' property (%d)\n"

L_.str.7:                               ## @.str.7
	.asciz	"function-enumerator"

L_.str.8:                               ## @.str.8
	.asciz	"Error parsing 'function-enumerator' property (%d)\n"

	.no_dead_strip	_led_parse_fwnode_props
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_parse_fwnode_props
_led_parse_fwnode_props:                ; @led_parse_fwnode_props
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_19
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_present
	cbz	x0, LBB0_5
; %bb.2:
	add	x2, x20, #32
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_read_string
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_19
; %bb.3:
	str	x0, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_19
LBB0_5:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_present
	cbz	x0, LBB0_12
; %bb.6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_fwnode_property_read_u32
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_8
; %bb.7:
	str	x0, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _LED_COLOR_ID_MAX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LED_COLOR_ID_MAX@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x20, #8]
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_err
LBB0_12:
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_present
	cbz	x0, LBB0_19
; %bb.13:
	add	x2, x20, #28
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_read_string
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_15
; %bb.14:
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_15:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_present
	cbz	x0, LBB0_19
; %bb.16:
	add	x2, x20, #16
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_fwnode_property_read_u32
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_18
; %bb.17:
	str	x0, [sp]
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_18:
	mov	w8, #1
	str	w8, [x20, #24]
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"label"

l_.str.1:                               ; @.str.1
	.asciz	"Error parsing 'label' property (%d)\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"Error parsing 'color' property (%d)\n"

	.comm	_LED_COLOR_ID_MAX,8,3           ; @LED_COLOR_ID_MAX
l_.str.4:                               ; @.str.4
	.asciz	"LED color identifier out of range\n"

l_.str.5:                               ; @.str.5
	.asciz	"function"

l_.str.6:                               ; @.str.6
	.asciz	"Error parsing 'function' property (%d)\n"

l_.str.7:                               ; @.str.7
	.asciz	"function-enumerator"

l_.str.8:                               ; @.str.8
	.asciz	"Error parsing 'function-enumerator' property (%d)\n"

	.no_dead_strip	_led_parse_fwnode_props
.subsections_via_symbols
