	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_page_alloc
_crypt_page_alloc:                      ## @crypt_page_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_dm_crypt_pages_per_client@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_percpu_counter_compare
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	___GFP_NORETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %edi
	callq	_alloc_page
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_percpu_counter_add
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dm_crypt_pages_per_client,4,2  ## @dm_crypt_pages_per_client
	.comm	___GFP_NORETRY,4,2              ## @__GFP_NORETRY
	.no_dead_strip	_crypt_page_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_page_alloc
_crypt_page_alloc:                      ; @crypt_page_alloc
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _dm_crypt_pages_per_client@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dm_crypt_pages_per_client@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_percpu_counter_compare
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, ___GFP_NORETRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___GFP_NORETRY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_likely
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_alloc_page
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	bl	_percpu_counter_add
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dm_crypt_pages_per_client,4,2  ; @dm_crypt_pages_per_client
	.comm	___GFP_NORETRY,4,2              ; @__GFP_NORETRY
	.no_dead_strip	_crypt_page_alloc
.subsections_via_symbols
