	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_cmds
_extract_cmds:                          ## @extract_cmds
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	_command_list@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
LBB0_2:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %esi
	callq	_ALLOC_ARRAY
	movq	(%r14), %rdi
	movq	$-1, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_ARRAY_SIZE
	movq	(%r14), %rdi
	movl	(%rdi,%rbx), %esi
	incq	%r12
	addq	$16, %rbx
	testl	%r15d, %esi
	je	LBB0_3
## %bb.4:
	movl	%r12d, %eax
	movups	-16(%rdi,%rbx), %xmm0
	movups	%xmm0, (%rax)
	shlq	$4, %rax
	movq	8(%rdi,%rax), %rdi
	callq	_drop_prefix
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_command_list,8,3               ## @command_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"empty command_list[] is a sign of broken generate-cmdlist.sh"

	.no_dead_strip	_extract_cmds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_cmds
_extract_cmds:                          ; @extract_cmds
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x20, _command_list@GOTPAGE
Lloh1:
	ldr	x20, [x20, _command_list@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_2:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	w1, w0, #1
	bl	_ALLOC_ARRAY
	mov	x22, #0
	ldr	x0, [x20]
	mov	x21, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_ARRAY_SIZE
	ldr	x0, [x20]
	ldr	w1, [x0, x22]
	add	x21, x21, #1
	add	x22, x22, #16
	tst	w1, w19
	b.eq	LBB0_3
; %bb.4:
	add	x8, x0, x22
	ldur	q0, [x8, #-16]
	str	q0, [x8]
	add	x8, x0, w21, uxtw #4
	ldr	x0, [x8, #8]
	bl	_drop_prefix
	brk	#0x1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_command_list,8,3               ; @command_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"empty command_list[] is a sign of broken generate-cmdlist.sh"

	.no_dead_strip	_extract_cmds
.subsections_via_symbols
