	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_fdt_internal           ## -- Begin function command_fdt_internal
	.p2align	4, 0x90
_command_fdt_internal:                  ## @command_fdt_internal
	.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
	cmpl	$2, %edi
	jge	LBB0_1
## %bb.5:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	%rsi, %r12
	movq	_commands@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movl	%edi, %r14d
	movl	$40, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movq	(%r15), %rax
	movq	(%rax,%rbx), %rsi
	addq	$24, %rbx
	testq	%rsi, %rsi
	jne	LBB0_3
	jmp	LBB0_8
LBB0_7:
	movl	%r13d, %ecx
	movq	(%r15), %rax
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.9:
	movq	_CMD_REQUIRES_BLOB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 8(%rax,%rcx,8)
	je	LBB0_12
## %bb.10:
	xorl	%eax, %eax
	callq	_fdt_fixup
	testq	%rax, %rax
	je	LBB0_11
LBB0_12:
	movq	(%rbx), %rax
	movl	%r14d, %edi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	leaq	L_.str.1(%rip), %rax
LBB0_6:
	movq	_command_errmsg@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_11:
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %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	"usage is 'fdt <command> [<args>]"

	.comm	_command_errmsg,8,3             ## @command_errmsg
	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
	.comm	_commands,8,3                   ## @commands
L_.str.1:                               ## @.str.1
	.asciz	"unknown command"

	.comm	_CMD_REQUIRES_BLOB,4,2          ## @CMD_REQUIRES_BLOB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_fdt_internal           ; -- Begin function command_fdt_internal
	.p2align	2
_command_fdt_internal:                  ; @command_fdt_internal
	.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
	cmp	w0, #2
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _command_errmsg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _command_errmsg@GOTPAGEOFF]
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	b	LBB0_11
LBB0_2:
	mov	x19, x1
Lloh4:
	adrp	x21, _commands@GOTPAGE
Lloh5:
	ldr	x21, [x21, _commands@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_10
; %bb.3:
	mov	x20, x0
	mov	x22, #0
	mov	w23, #40
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldr	x8, [x21]
	ldr	x1, [x8, x23]
	add	x23, x23, #24
	cbnz	x1, LBB0_4
	b	LBB0_10
LBB0_6:
	and	x8, x22, #0xffffffff
	ldr	x9, [x21]
	mov	w10, #24
	mul	x10, x8, x10
	ldr	x21, [x9, x10]
	cbz	x21, LBB0_10
; %bb.7:
	mov	w10, #24
	madd	x8, x8, x10, x9
	ldr	w8, [x8, #8]
Lloh6:
	adrp	x9, _CMD_REQUIRES_BLOB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMD_REQUIRES_BLOB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	bl	_fdt_fixup
	cbz	x0, LBB0_12
LBB0_9:
	ldr	x2, [x21]
	mov	x0, x20
	mov	x1, x19
	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
	br	x2
LBB0_10:
Lloh9:
	adrp	x8, _command_errmsg@GOTPAGE
Lloh10:
	ldr	x8, [x8, _command_errmsg@GOTPAGEOFF]
Lloh11:
	adrp	x9, l_.str.1@PAGE
Lloh12:
	add	x9, x9, l_.str.1@PAGEOFF
LBB0_11:
	str	x9, [x8]
LBB0_12:
Lloh13:
	adrp	x8, _CMD_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMD_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage is 'fdt <command> [<args>]"

	.comm	_command_errmsg,8,3             ; @command_errmsg
	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
	.comm	_commands,8,3                   ; @commands
l_.str.1:                               ; @.str.1
	.asciz	"unknown command"

	.comm	_CMD_REQUIRES_BLOB,4,2          ; @CMD_REQUIRES_BLOB
.subsections_via_symbols
