	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_unblock                 ## -- Begin function crypto_unblock
	.p2align	4, 0x90
_crypto_unblock:                        ## @crypto_unblock
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_CRYPTO_Q_LOCK
	movl	%ebx, %edi
	callq	_crypto_checkdriver
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_CRYPTO_SYMQ@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	$0, 8(%rax)
LBB0_3:
	movq	_CRYPTO_ASYMQ@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	$0, (%rax)
LBB0_5:
	movq	_crp_sleep@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_crp_q@GOTPCREL(%rip), %rdi
	callq	_wakeup_one
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	xorl	%eax, %eax
	callq	_CRYPTO_Q_UNLOCK
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_SYMQ,4,2                ## @CRYPTO_SYMQ
	.comm	_CRYPTO_ASYMQ,4,2               ## @CRYPTO_ASYMQ
	.comm	_crp_sleep,8,3                  ## @crp_sleep
	.comm	_crp_q,4,2                      ## @crp_q
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_unblock                 ; -- Begin function crypto_unblock
	.p2align	2
_crypto_unblock:                        ; @crypto_unblock
	.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
	bl	_CRYPTO_Q_LOCK
	mov	x0, x20
	bl	_crypto_checkdriver
	cbz	x0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _CRYPTO_SYMQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_SYMQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_3
; %bb.2:
	str	xzr, [x0, #8]
LBB0_3:
Lloh3:
	adrp	x8, _CRYPTO_ASYMQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTO_ASYMQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
	str	xzr, [x0]
LBB0_5:
Lloh6:
	adrp	x8, _crp_sleep@GOTPAGE
Lloh7:
	ldr	x8, [x8, _crp_sleep@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, _crp_q@GOTPAGE
Lloh10:
	ldr	x0, [x0, _crp_q@GOTPAGEOFF]
	bl	_wakeup_one
LBB0_7:
	mov	w19, #0
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
LBB0_9:
	bl	_CRYPTO_Q_UNLOCK
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_SYMQ,4,2                ; @CRYPTO_SYMQ
	.comm	_CRYPTO_ASYMQ,4,2               ; @CRYPTO_ASYMQ
	.comm	_crp_sleep,8,3                  ; @crp_sleep
	.comm	_crp_q,4,2                      ; @crp_q
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
