	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtoverlay_merge_fragment
_dtoverlay_merge_fragment:              ## @dtoverlay_merge_fragment
	.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	$552, %rsp                      ## imm = 0x228
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -564(%rbp)                ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_dtoverlay_debug_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	%esi, -568(%rbp)                ## 4-byte Spill
	movq	%rdi, -584(%rbp)                ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	movl	(%rdi), %edi
	leaq	-304(%rbp), %r14
	movq	%r14, %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_fdt_get_path
	movl	(%r12), %edi
	leaq	-560(%rbp), %r15
	movl	%r13d, %esi
	movq	%r15, %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_fdt_get_path
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_dtoverlay_debug
LBB0_2:
	movl	(%r12), %edi
	movl	%r13d, -572(%rbp)               ## 4-byte Spill
	movl	%r13d, %esi
	callq	_fdt_first_property_offset
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %r13d
	leaq	-304(%rbp), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	leaq	-560(%rbp), %rcx
	callq	_fdt_getprop_by_offset
	movq	%rax, %r15
	movq	-304(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -564(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-304(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dtoverlay_debug
	movq	-304(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	-584(%rbp), %rbx                ## 8-byte Reload
	movl	-568(%rbp), %r14d               ## 4-byte Reload
	je	LBB0_10
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %edi
	movq	-304(%rbp), %rdx
	movl	-560(%rbp), %r8d
	movl	%r14d, %esi
	movq	%r15, %rcx
	callq	_fdt_setprop
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r14d
	leaq	-304(%rbp), %rbx
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %edi
	movl	%r13d, %esi
	callq	_fdt_next_property_offset
	testl	%eax, %eax
	js	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r13d
	testl	%r14d, %r14d
	je	LBB0_5
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-304(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-304(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	movl	$0, %r14d
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %edi
	movq	-304(%rbp), %rdx
	movl	%r14d, %esi
	leaq	-576(%rbp), %rcx
	callq	_fdt_get_property_w
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-576(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	decl	%ecx
	movb	$32, (%rax,%rcx)
	movl	(%rbx), %edi
	movq	-304(%rbp), %rdx
	movl	-560(%rbp), %r8d
	movl	%r14d, %esi
	movq	%r15, %rcx
	callq	_fdt_appendprop
	jmp	LBB0_15
LBB0_3:
	xorl	%r14d, %r14d
LBB0_18:
	movl	(%r12), %edi
	movl	-572(%rbp), %esi                ## 4-byte Reload
	callq	_fdt_first_subnode
	testl	%eax, %eax
	js	LBB0_26
## %bb.19:
	testl	%r14d, %r14d
	jne	LBB0_26
## %bb.20:
	movl	%eax, %ebx
	incl	-564(%rbp)                      ## 4-byte Folded Spill
	movq	-584(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	%ebx, %esi
	leaq	-304(%rbp), %rdx
	callq	_fdt_get_name
	movq	%rax, %r13
	movl	(%r15), %edi
	movl	-304(%rbp), %ecx
	movl	-568(%rbp), %esi                ## 4-byte Reload
	movq	%rax, %rdx
	callq	_fdt_subnode_offset_namelen
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r15), %edi
	movl	-304(%rbp), %ecx
	movl	-568(%rbp), %esi                ## 4-byte Reload
	movq	%r13, %rdx
	callq	_fdt_add_subnode_namelen
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movl	-564(%rbp), %r8d                ## 4-byte Reload
	callq	_dtoverlay_merge_fragment
	movl	%eax, %r14d
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_fdt_next_subnode
	testl	%eax, %eax
	js	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%eax, %ebx
	testl	%r14d, %r14d
	je	LBB0_21
LBB0_26:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_dtoverlay_debug
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	movl	%r14d, %eax
	addq	$552, %rsp                      ## imm = 0x228
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dtoverlay_debug_enabled,8,3    ## @dtoverlay_debug_enabled
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"merge_fragment(%s,%s)"

L_.str.1:                               ## @.str.1
	.asciz	"name"

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

L_.str.3:                               ## @.str.3
	.asciz	"linux,phandle"

L_.str.4:                               ## @.str.4
	.asciz	"  +prop(%s)"

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

L_.str.6:                               ## @.str.6
	.asciz	"merge_fragment() end"

	.no_dead_strip	_dtoverlay_merge_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtoverlay_merge_fragment
_dtoverlay_merge_fragment:              ; @dtoverlay_merge_fragment
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #560
	mov	x22, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x26, sp, #288
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _dtoverlay_debug_enabled@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dtoverlay_debug_enabled@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	add	x2, sp, #288
	mov	x1, x20
	mov	w3, #256
	bl	_fdt_get_path
	ldr	w0, [x19]
	add	x23, sp, #32
	add	x2, sp, #32
	mov	x1, x24
	mov	w3, #256
	bl	_fdt_get_path
	stp	x26, x23, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dtoverlay_debug
LBB0_2:
	ldr	w0, [x19]
	str	w24, [sp, #24]                  ; 4-byte Folded Spill
	mov	x1, x24
	bl	_fdt_first_property_offset
	tbnz	w0, #31, LBB0_18
; %bb.3:
	mov	x24, x0
Lloh8:
	adrp	x25, l_.str.1@PAGE
Lloh9:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh10:
	adrp	x28, l_.str.4@PAGE
Lloh11:
	add	x28, x28, l_.str.4@PAGEOFF
Lloh12:
	adrp	x27, l_.str.5@PAGE
Lloh13:
	add	x27, x27, l_.str.5@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x2, sp, #288
	add	x3, sp, #32
	mov	x1, x24
	bl	_fdt_getprop_by_offset
	mov	x23, x0
	ldr	x0, [x26]
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w22, LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	str	x8, [sp]
	mov	x0, x28
	bl	_dtoverlay_debug
	ldr	x0, [x26]
	mov	x1, x27
	bl	_strcmp
	cbz	x0, LBB0_14
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	ldr	x2, [x26]
	ldr	w4, [sp, #32]
	mov	x1, x20
	mov	x3, x23
	bl	_fdt_setprop
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x26]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x26]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	mov	x1, x24
	bl	_fdt_next_property_offset
	tbnz	w0, #31, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	cbz	w23, LBB0_4
	b	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	ldr	x2, [x26]
	add	x3, sp, #28
	mov	x1, x20
	bl	_fdt_get_property_w
	cbz	x0, LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #28]
	subs	w8, w8, #1
	b.lt	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x0]
	ldrb	w10, [x9]
	cbz	w10, LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #32
	strb	w10, [x9, w8, uxtw]
	ldr	w0, [x21]
	ldr	x2, [x26]
	ldr	w4, [sp, #32]
	mov	x1, x20
	mov	x3, x23
	bl	_fdt_appendprop
	b	LBB0_8
LBB0_18:
	mov	w23, #0
LBB0_19:
	ldr	w0, [x19]
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_fdt_first_subnode
	tbnz	w0, #31, LBB0_27
; %bb.20:
	cbnz	w23, LBB0_27
; %bb.21:
	mov	x24, x0
	add	w22, w22, #1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x2, sp, #288
	mov	x1, x24
	bl	_fdt_get_name
	mov	x25, x0
	ldr	w0, [x21]
	ldr	w3, [sp, #288]
	mov	x1, x20
	mov	x2, x25
	bl	_fdt_subnode_offset_namelen
	mov	x23, x0
	tbz	w0, #31, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x21]
	ldr	w3, [sp, #288]
	mov	x1, x20
	mov	x2, x25
	bl	_fdt_add_subnode_namelen
	mov	x23, x0
	tbnz	w0, #31, LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x19
	mov	x3, x24
	mov	x4, x22
	bl	_dtoverlay_merge_fragment
	mov	x23, x0
LBB0_25:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x19]
	mov	x1, x24
	bl	_fdt_next_subnode
	tbnz	w0, #31, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x24, x0
	cbz	w23, LBB0_22
LBB0_27:
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dtoverlay_debug
	ldur	x8, [x29, #-96]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x23
	add	sp, sp, #560
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_dtoverlay_debug_enabled,8,3    ; @dtoverlay_debug_enabled
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"merge_fragment(%s,%s)"

l_.str.1:                               ; @.str.1
	.asciz	"name"

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

l_.str.3:                               ; @.str.3
	.asciz	"linux,phandle"

l_.str.4:                               ; @.str.4
	.asciz	"  +prop(%s)"

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

l_.str.6:                               ; @.str.6
	.asciz	"merge_fragment() end"

	.no_dead_strip	_dtoverlay_merge_fragment
.subsections_via_symbols
