	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_crypt_desc
_setup_crypt_desc:                      ## @setup_crypt_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$1, %edi
	callq	_BUILD_BUG_ON
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NPE_QLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	shll	$2, %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_crypt_phys@GOTPCREL(%rip), %rdx
	callq	_dma_alloc_coherent
	movq	_crypt_virt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%ebx, %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev,4,2                        ## @dev
	.comm	_NPE_QLEN,4,2                   ## @NPE_QLEN
	.comm	_crypt_phys,4,2                 ## @crypt_phys
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_crypt_virt,4,2                 ## @crypt_virt
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_setup_crypt_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_crypt_desc
_setup_crypt_desc:                      ; @setup_crypt_desc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #1
	bl	_BUILD_BUG_ON
Lloh0:
	adrp	x8, _dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh2:
	adrp	x19, _NPE_QLEN@GOTPAGE
Lloh3:
	ldr	x19, [x19, _NPE_QLEN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w8, [x19]
	lsl	w1, w8, #2
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x2, _crypt_phys@GOTPAGE
Lloh9:
	ldr	x2, [x2, _crypt_phys@GOTPAGEOFF]
	bl	_dma_alloc_coherent
Lloh10:
	adrp	x8, _crypt_virt@GOTPAGE
Lloh11:
	ldr	x8, [x8, _crypt_virt@GOTPAGEOFF]
Lloh12:
	str	w0, [x8]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_dev,4,2                        ; @dev
	.comm	_NPE_QLEN,4,2                   ; @NPE_QLEN
	.comm	_crypt_phys,4,2                 ; @crypt_phys
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_crypt_virt,4,2                 ; @crypt_virt
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_setup_crypt_desc
.subsections_via_symbols
