	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_fdt_header
_make_fdt_header:                       ## @make_fdt_header
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$255, %esi
	movl	$80, %edx
	callq	_memset
	movq	_FDT_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_fdt32
	movq	%rax, 72(%r12)
	movl	(%r15), %edi
	callq	_cpu_to_fdt32
	movq	%rax, 64(%r12)
	movl	4(%r15), %edi
	callq	_cpu_to_fdt32
	movq	%rax, 56(%r12)
	movl	12(%r15), %edi
	movl	$8, %esi
	callq	_ALIGN
	movl	%eax, %r14d
	leal	(%r14,%r13), %ebx
	movl	%eax, %edi
	callq	_cpu_to_fdt32
	movq	%rax, 48(%r12)
	leal	(%r14,%r13), %edi
	addl	$4, %edi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	callq	_cpu_to_fdt32
	movq	%rax, 40(%r12)
	addl	%r14d, %ebx
	addl	$4, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_fdt32
	movq	%rax, 32(%r12)
	addl	%r13d, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_fdt32
	movq	%rax, 24(%r12)
	movl	8(%r15), %eax
	movq	_FTF_BOOTCPUID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_fdt32
	movq	%rax, 16(%r12)
	movl	8(%r15), %eax
LBB0_2:
	movq	_FTF_STRTABSIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	%r13d, %edi
	callq	_cpu_to_fdt32
	movq	%rax, 8(%r12)
	movl	8(%r15), %eax
LBB0_4:
	movq	_FTF_STRUCTSIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_cpu_to_fdt32
	movq	%rax, (%r12)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_MAGIC,4,2                  ## @FDT_MAGIC
	.comm	_FTF_BOOTCPUID,4,2              ## @FTF_BOOTCPUID
	.comm	_FTF_STRTABSIZE,4,2             ## @FTF_STRTABSIZE
	.comm	_FTF_STRUCTSIZE,4,2             ## @FTF_STRUCTSIZE
	.no_dead_strip	_make_fdt_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_fdt_header
_make_fdt_header:                       ; @make_fdt_header
	.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
	mov	x23, x5
	mov	x22, x4
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	mov	w1, #255
	mov	w2, #80
	bl	_memset
Lloh0:
	adrp	x8, _FDT_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_fdt32
	str	x0, [x19, #72]
	ldr	w0, [x21]
	bl	_cpu_to_fdt32
	str	x0, [x19, #64]
	ldr	w0, [x21, #4]
	bl	_cpu_to_fdt32
	str	x0, [x19, #56]
	ldr	w0, [x21, #12]
	mov	w1, #8
	bl	_ALIGN
	add	w24, w24, w0
	bl	_cpu_to_fdt32
	str	x0, [x19, #48]
	add	w24, w24, #4
	mov	x0, x24
	bl	_cpu_to_fdt32
	str	x0, [x19, #40]
	add	w24, w24, w20
	mov	x0, x24
	bl	_cpu_to_fdt32
	str	x0, [x19, #32]
	add	w0, w24, w22
	bl	_cpu_to_fdt32
	str	x0, [x19, #24]
	ldr	w8, [x21, #8]
Lloh3:
	adrp	x9, _FTF_BOOTCPUID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FTF_BOOTCPUID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_cpu_to_fdt32
	str	x0, [x19, #16]
	ldr	w8, [x21, #8]
LBB0_2:
Lloh6:
	adrp	x9, _FTF_STRTABSIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FTF_STRTABSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_cpu_to_fdt32
	str	x0, [x19, #8]
	ldr	w8, [x21, #8]
LBB0_4:
Lloh9:
	adrp	x9, _FTF_STRUCTSIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FTF_STRUCTSIZE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_cpu_to_fdt32
	str	x0, [x19]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_MAGIC,4,2                  ; @FDT_MAGIC
	.comm	_FTF_BOOTCPUID,4,2              ; @FTF_BOOTCPUID
	.comm	_FTF_STRTABSIZE,4,2             ; @FTF_STRTABSIZE
	.comm	_FTF_STRUCTSIZE,4,2             ; @FTF_STRUCTSIZE
	.no_dead_strip	_make_fdt_header
.subsections_via_symbols
