	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdt_data_str
_fdt_data_str:                          ## @fdt_data_str
	.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
	movq	%rcx, %r14
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	%esi, %eax
	subl	%edx, %eax
	cmpl	$2, %edx
	leal	1(%rax,%rdx,2), %eax
	cmovll	%esi, %eax
	leal	(%rax,%rdx,2), %ebx
	movl	%ebx, %edi
	callq	_malloc
	movq	%rax, %r13
	movl	%ebx, %edi
	callq	_malloc
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movb	$0, (%r13)
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r14
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %r15d
	incl	%r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r12d, %r15d
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rax
	cmovlq	%rax, %rcx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_sprintf
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strcat
	cmpl	%r12d, %r15d
	jl	LBB0_5
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	xorl	%r14d, %r14d
	movq	%rbx, %r13
	jmp	LBB0_7
LBB0_1:
	movl	$1, %r14d
	jmp	LBB0_8
LBB0_3:
	movl	$1, %r14d
LBB0_7:
	movq	%r13, %rdi
	callq	_free
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\"%s"

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

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_fdt_data_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdt_data_str
_fdt_data_str:                          ; @fdt_data_str
	.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
	mov	x19, x3
	mov	x21, x1
	mov	x22, x0
	lsl	w8, w2, #1
	sub	w9, w1, w2
	add	w9, w9, w8
	cmp	w2, #1
	csinc	w9, w1, w9, le
	add	w23, w9, w8
	mov	x0, x23
	bl	_malloc
	mov	x20, x0
	mov	x0, x23
	bl	_malloc
	cbz	x20, LBB0_5
; %bb.1:
	mov	x23, x0
	cbz	x0, LBB0_6
; %bb.2:
	mov	w26, #0
	strb	wzr, [x20]
Lloh0:
	adrp	x27, l_.str.2@PAGE
Lloh1:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh2:
	adrp	x28, l_.str.1@PAGE
Lloh3:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x22, w26, sxtw
	mov	x0, x25
	bl	_strlen
	add	w8, w26, w0
	add	w26, w8, #1
	cmp	w26, w21
	csel	x3, x28, x27, lt
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_sprintf
	mov	x0, x20
	mov	x1, x23
	bl	_strcat
	cmp	w26, w21
	b.lt	LBB0_3
; %bb.4:
	mov	w21, #0
	str	x20, [x19]
	mov	x20, x23
	b	LBB0_7
LBB0_5:
	mov	w21, #1
	b	LBB0_8
LBB0_6:
	mov	w21, #1
LBB0_7:
	mov	x0, x20
	bl	_free
LBB0_8:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\"%s"

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

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_fdt_data_str
.subsections_via_symbols
