	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlp_alloc_cmd_params
_xlp_alloc_cmd_params:                  ## @xlp_alloc_cmd_params
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_M_DEVBUF@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	(%rax), %edx
	movl	$4, %edi
	callq	_malloc
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	_XLP_L2L3_CACHELINE_SIZE@GOTPCREL(%rip), %r15
	movslq	(%r15), %rcx
	decq	%rcx
	testq	%rax, %rcx
	je	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	shll	$4, %ebx
	addl	$-12, %ebx
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%ebx, %edi
	callq	_malloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movslq	(%r15), %rcx
	decq	%rcx
	testq	%rax, %rcx
	jne	LBB0_1
## %bb.6:
	movq	_EALG_MAX_BLOCK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_M_NOWAIT@GOTPCREL(%rip), %rbx
	orl	(%rbx), %edx
	callq	_malloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_HASH_MAX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	orl	(%rbx), %edx
	callq	_malloc
	movq	%rax, %rcx
	movq	%rax, (%r14)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_10
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_XLP_L2L3_CACHELINE_SIZE,4,2    ## @XLP_L2L3_CACHELINE_SIZE
	.comm	_EALG_MAX_BLOCK_LEN,4,2         ## @EALG_MAX_BLOCK_LEN
	.comm	_HASH_MAX_LEN,4,2               ## @HASH_MAX_LEN
	.no_dead_strip	_xlp_alloc_cmd_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlp_alloc_cmd_params
_xlp_alloc_cmd_params:                  ; @xlp_alloc_cmd_params
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _M_DEVBUF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_DEVBUF@GOTPAGEOFF]
Lloh2:
	adrp	x22, _M_NOWAIT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _M_NOWAIT@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _M_ZERO@GOTPAGE
Lloh5:
	ldr	x23, [x23, _M_ZERO@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w9, w8
	mov	w0, #4
	bl	_malloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_8
; %bb.2:
Lloh6:
	adrp	x24, _XLP_L2L3_CACHELINE_SIZE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _XLP_L2L3_CACHELINE_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x24]
	sub	x8, x8, #1
	tst	x8, x0
	b.eq	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	lsl	w8, w20, #4
	sub	w0, w8, #12
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.5:
	ldrsw	x8, [x24]
	sub	x8, x8, #1
	tst	x8, x0
	b.ne	LBB0_3
; %bb.6:
Lloh10:
	adrp	x8, _EALG_MAX_BLOCK_LEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EALG_MAX_BLOCK_LEN@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _HASH_MAX_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HASH_MAX_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x19]
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_10
LBB0_8:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_XLP_L2L3_CACHELINE_SIZE,4,2    ; @XLP_L2L3_CACHELINE_SIZE
	.comm	_EALG_MAX_BLOCK_LEN,4,2         ; @EALG_MAX_BLOCK_LEN
	.comm	_HASH_MAX_LEN,4,2               ; @HASH_MAX_LEN
	.no_dead_strip	_xlp_alloc_cmd_params
.subsections_via_symbols
