	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soundbus_uevent
_soundbus_uevent:                       ## @soundbus_uevent
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	callq	_to_soundbus_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_add_uevent_var
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:
	movq	8(%r14), %rax
	movl	4(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_add_uevent_var
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	movq	8(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	cmpl	$0, -44(%rbp)
	jle	LBB0_11
## %bb.7:
	movq	%rax, %rbx
	movl	(%r15), %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_add_uevent_var
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r15), %eax
	movl	%eax, %edx
	subl	%r13d, %edx
	movl	-44(%rbp), %ecx
	subl	%edx, %ecx
	movl	%ecx, -44(%rbp)
	incl	%r12d
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movslq	%edx, %rdx
	addq	%rdx, %rbx
	movl	%eax, %r13d
	testl	%ecx, %ecx
	jg	LBB0_8
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_add_uevent_var
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	(%r14), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_add_uevent_var
	jmp	LBB0_13
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OF_NAME=%s"

L_.str.1:                               ## @.str.1
	.asciz	"OF_TYPE=%s"

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

L_.str.3:                               ## @.str.3
	.asciz	"OF_COMPATIBLE_%d=%s"

L_.str.4:                               ## @.str.4
	.asciz	"OF_COMPATIBLE_N=%d"

L_.str.5:                               ## @.str.5
	.asciz	"MODALIAS=%s"

	.no_dead_strip	_soundbus_uevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soundbus_uevent
_soundbus_uevent:                       ; @soundbus_uevent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x1
	bl	_to_soundbus_device
	cbz	x0, LBB0_12
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_add_uevent_var
	cbnz	w0, LBB0_13
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #4]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_add_uevent_var
	cbnz	w0, LBB0_13
; %bb.4:
	ldr	x0, [x20, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	bl	_of_get_property
	mov	w21, #0
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x22, x0
	mov	w21, #0
	ldr	w24, [x19]
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_add_uevent_var
	cbnz	w0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19]
	ldr	w9, [sp, #12]
	sub	w10, w8, w24
	sub	w9, w9, w10
	str	w9, [sp, #12]
	add	w21, w21, #1
	cbz	x22, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, w10, sxtw
	mov	x24, x8
	cmp	w9, #0
	b.gt	LBB0_7
LBB0_10:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_add_uevent_var
	cbnz	w0, LBB0_13
; %bb.11:
	ldr	w2, [x20]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_add_uevent_var
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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
	add	sp, sp, #80
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OF_NAME=%s"

l_.str.1:                               ; @.str.1
	.asciz	"OF_TYPE=%s"

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

l_.str.3:                               ; @.str.3
	.asciz	"OF_COMPATIBLE_%d=%s"

l_.str.4:                               ; @.str.4
	.asciz	"OF_COMPATIBLE_N=%d"

l_.str.5:                               ; @.str.5
	.asciz	"MODALIAS=%s"

	.no_dead_strip	_soundbus_uevent
.subsections_via_symbols
