	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_special_alloc
_cmd_special_alloc:                     ## @cmd_special_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	leaq	-24(%rbp), %rdx
	movl	$48, %esi
	callq	_pci_alloc_consistent
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	$-1, (%rbx)
	movl	4(%r14), %edi
	leaq	-32(%rbp), %rdx
	movl	$48, %esi
	callq	_pci_alloc_consistent
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%rbx, %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	-24(%rbp), %rax
	movq	%rax, 24(%rbx)
	movl	$48, 8(%rbx)
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_6
LBB0_4:
	movl	4(%r14), %edi
	movq	-24(%rbp), %rcx
	movl	$48, %esi
	movq	%rbx, %rdx
	callq	_pci_free_consistent
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmd_special_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_special_alloc
_cmd_special_alloc:                     ; @cmd_special_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	ldr	w0, [x0, #4]
	add	x2, sp, #8
	mov	w1, #48
	bl	_pci_alloc_consistent
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	w21, #48
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	w8, #-1
	str	w8, [x19]
	ldr	w0, [x20, #4]
	mov	x2, sp
	mov	w1, #48
	bl	_pci_alloc_consistent
	str	x0, [x19, #40]
	cbz	x0, LBB0_3
; %bb.2:
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	add	x0, x19, #32
	bl	_INIT_LIST_HEAD
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
	str	w21, [x19, #8]
	ldr	w8, [x20]
	str	w8, [x19, #4]
	b	LBB0_4
LBB0_3:
	ldr	w0, [x20, #4]
	ldr	x3, [sp, #8]
	mov	w1, #48
	mov	x2, x19
	bl	_pci_free_consistent
	mov	x19, #0
LBB0_4:
	mov	x0, 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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmd_special_alloc
.subsections_via_symbols
