	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_compose_name               ## -- Begin function led_compose_name
	.p2align	4, 0x90
_led_compose_name:                      ## @led_compose_name
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movq	24(%rsi), %r12
	leaq	-96(%rbp), %rdx
	movq	%r12, %rsi
	callq	_led_parse_fwnode_props
	movq	-96(%rbp), %r8
	testq	%r8, %r8
	je	LBB0_7
## %bb.2:
	movq	_LED_MAX_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%r14, %r14
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
LBB0_6:
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_23
LBB0_7:
	movq	-72(%rbp), %rax
	orq	-64(%rbp), %rax
	je	LBB0_19
## %bb.8:
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_LED_MAX_NAME_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpq	$0, -56(%rbp)
	movl	(%rbx), %esi
	movq	-64(%rbp), %rax
	leaq	L_.str.2(%rip), %r8
	movq	%r8, %rcx
	je	LBB0_12
## %bb.9:
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_led_colors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx
	movq	(%rax,%rcx,8), %rcx
LBB0_11:
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r8
	movl	-80(%rbp), %r9d
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_15
LBB0_3:
	movq	%r15, %rdi
	movq	%r8, %rsi
	movl	%eax, %edx
LBB0_4:
	callq	_strscpy
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_19:
	movq	8(%r13), %r8
	testq	%r8, %r8
	je	LBB0_26
## %bb.20:
	testq	%r14, %r14
	je	LBB0_21
## %bb.25:
	movq	_LED_MAX_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	jmp	LBB0_6
LBB0_12:
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_led_colors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx
	movq	(%rax,%rcx,8), %rcx
LBB0_14:
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r8
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_15:
	cmpq	$0, 16(%r13)
	movl	(%rbx), %eax
	je	LBB0_17
## %bb.16:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r14, %rcx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_18
LBB0_26:
	movq	%r12, %rdi
	callq	_is_of_node
	testq	%rax, %rax
	je	LBB0_22
## %bb.27:
	movq	%r12, %rdi
	callq	_to_of_node
	movq	(%rax), %rsi
	movq	_LED_MAX_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	jmp	LBB0_4
LBB0_17:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strscpy
LBB0_18:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_21:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.28:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LED_MAX_NAME_SIZE,4,2          ## @LED_MAX_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s:%s-%d"

	.comm	_led_colors,8,3                 ## @led_colors
L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"Legacy LED naming requires devicename segment"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_compose_name               ; -- Begin function led_compose_name
	.p2align	2
_led_compose_name:                      ; @led_compose_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-96]
	stur	q0, [x29, #-112]
	cbz	x2, LBB0_21
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x1, #24]
	ldr	x20, [x1]
	sub	x2, x29, #112
	mov	x1, x23
	bl	_led_parse_fwnode_props
	ldur	x4, [x29, #-112]
	cbz	x4, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _LED_MAX_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_MAX_NAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	x20, LBB0_9
; %bb.3:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x8
LBB0_4:
	mov	x3, x20
	bl	_snprintf
	b	LBB0_28
LBB0_5:
	ldp	x8, x9, [x29, #-88]
	orr	x8, x8, x9
	cbz	x8, LBB0_11
; %bb.6:
	mov	x23, sp
Lloh8:
	adrp	x24, _LED_MAX_NAME_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _LED_MAX_NAME_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w1, [x24]
	ldp	x9, x8, [x29, #-80]
	cbz	x8, LBB0_14
; %bb.7:
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
	cbz	x9, LBB0_18
; %bb.8:
Lloh14:
	adrp	x9, _led_colors@GOTPAGE
Lloh15:
	ldr	x9, [x9, _led_colors@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldur	x10, [x29, #-104]
	ldr	x3, [x9, x10, lsl #3]
	b	LBB0_19
LBB0_9:
	mov	x0, x19
	mov	x1, x4
	mov	x2, x8
LBB0_10:
	bl	_strscpy
	b	LBB0_28
LBB0_11:
	ldr	x4, [x21, #8]
	cbz	x4, LBB0_16
; %bb.12:
	cbz	x20, LBB0_20
; %bb.13:
Lloh17:
	adrp	x8, _LED_MAX_NAME_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LED_MAX_NAME_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_4
LBB0_14:
Lloh22:
	adrp	x8, l_.str.2@PAGE
Lloh23:
	add	x8, x8, l_.str.2@PAGEOFF
	cbz	x9, LBB0_22
; %bb.15:
Lloh24:
	adrp	x9, _led_colors@GOTPAGE
Lloh25:
	ldr	x9, [x9, _led_colors@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldur	x10, [x29, #-104]
	ldr	x3, [x9, x10, lsl #3]
	b	LBB0_23
LBB0_16:
	mov	x0, x23
	bl	_is_of_node
	cbz	x0, LBB0_21
; %bb.17:
	mov	x0, x23
	bl	_to_of_node
	ldr	x1, [x0]
Lloh27:
	adrp	x8, _LED_MAX_NAME_SIZE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LED_MAX_NAME_SIZE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	b	LBB0_10
LBB0_18:
	mov	x3, x8
LBB0_19:
	ldur	x9, [x29, #-88]
	cmp	x9, #0
	csel	x4, x8, x9, eq
	ldur	w8, [x29, #-96]
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
	str	x8, [sp, #-16]!
	mov	x0, x22
	bl	_snprintf
	add	sp, sp, #16
	b	LBB0_24
LBB0_20:
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_dev_err
LBB0_21:
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_29
LBB0_22:
	mov	x3, x8
LBB0_23:
	ldur	x9, [x29, #-88]
	cmp	x9, #0
	csel	x4, x8, x9, eq
Lloh37:
	adrp	x2, l_.str@PAGE
Lloh38:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	bl	_snprintf
LBB0_24:
	ldr	x9, [x21, #16]
	ldr	w8, [x24]
	cbz	x9, LBB0_26
; %bb.25:
Lloh39:
	adrp	x2, l_.str@PAGE
Lloh40:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x8
	mov	x3, x20
	mov	x4, x22
	bl	_snprintf
	b	LBB0_27
LBB0_26:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x8
	bl	_strscpy
LBB0_27:
	mov	sp, x23
LBB0_28:
	mov	w0, #0
LBB0_29:
	ldur	x8, [x29, #-56]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LED_MAX_NAME_SIZE,4,2          ; @LED_MAX_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s:%s-%d"

	.comm	_led_colors,8,3                 ; @led_colors
l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"Legacy LED naming requires devicename segment"

.subsections_via_symbols
