	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_merge_params         ## -- Begin function dtoverlay_merge_params
	.p2align	4, 0x90
_dtoverlay_merge_params:                ## @dtoverlay_merge_params
	.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
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$12, %r13
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-12(%r13), %rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movl	%r12d, %edx
	subl	%ebx, %edx
	cmpq	%rbx, %rax
	movl	$1, %eax
	cmovel	%eax, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dtoverlay_create_node
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	movl	-4(%r13), %r8d
	movl	(%r13), %ecx
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_fdt_setprop
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ebx
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %r13
	incq	%r15
	testl	%ebx, %ebx
	je	LBB0_3
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	movl	%ebx, %esi
	movq	%r12, %rdx
	leaq	-44(%rbp), %rcx
	callq	_fdt_get_property_w
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%ecx
	movb	$32, (%rax,%rcx)
	movl	(%r14), %edi
	movl	-4(%r13), %r8d
	movl	(%r13), %ecx
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_fdt_appendprop
	jmp	LBB0_12
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_10:
	movq	_FDT_ERR_BADPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_NON_FATAL
	movl	%eax, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_BADPATH,4,2            ## @FDT_ERR_BADPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bootargs"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_merge_params         ; -- Begin function dtoverlay_merge_params
	.p2align	2
_dtoverlay_merge_params:                ; @dtoverlay_merge_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	w2, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	w23, w2
	add	x24, x1, #12
	mov	w25, #1
	mov	w26, #32
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x21, [x24, #-12]
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	sub	w8, w22, w21
	cmp	x0, x21
	csinc	w2, w8, wzr, ne
	mov	x0, x19
	mov	x1, x21
	bl	_dtoverlay_create_node
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	mov	x0, x22
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	add	x3, sp, #12
	mov	x1, x21
	mov	x2, x22
	bl	_fdt_get_property_w
	ldr	w8, [sp, #12]
	cmp	x0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x0]
	ldrb	w10, [x9]
	cbz	w10, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #1
	strb	w26, [x9, w8, uxtw]
	ldr	w0, [x19]
	ldp	w4, w3, [x24, #-4]
	mov	x1, x21
	mov	x2, x22
	bl	_fdt_appendprop
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	ldp	w4, w3, [x24, #-4]
	mov	x1, x21
	mov	x2, x22
	bl	_fdt_setprop
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	cmp	x25, x23
	b.hs	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #16
	add	x25, x25, #1
	cbz	w21, LBB0_2
	b	LBB0_13
LBB0_11:
	mov	w21, #0
	b	LBB0_13
LBB0_12:
Lloh2:
	adrp	x8, _FDT_ERR_BADPATH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FDT_ERR_BADPATH@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_NON_FATAL
	mov	x21, x0
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_ERR_BADPATH,4,2            ; @FDT_ERR_BADPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bootargs"

.subsections_via_symbols
