	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_chainiv_givencrypt
_async_chainiv_givencrypt:              ## @async_chainiv_givencrypt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_skcipher_givcrypt_reqtfm
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_crypto_ablkcipher_ctx
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_skcipher_givcrypt_reqctx
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_skcipher_geniv_cipher
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ablkcipher_request_set_tfm
	movl	24(%rbx), %esi
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	%r12, %rdi
	callq	_ablkcipher_request_set_callback
	movl	12(%rbx), %esi
	movl	8(%rbx), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movq	%r12, %rdi
	callq	_ablkcipher_request_set_crypt
	movq	_CHAINIV_STATE_INUSE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.2:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_clear_bit
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_async_chainiv_postpone_request ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_async_chainiv_givencrypt_tail  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAINIV_STATE_INUSE,4,2        ## @CHAINIV_STATE_INUSE
	.no_dead_strip	_async_chainiv_givencrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_chainiv_givencrypt
_async_chainiv_givencrypt:              ; @async_chainiv_givencrypt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_skcipher_givcrypt_reqtfm
	mov	x21, x0
	bl	_crypto_ablkcipher_ctx
	mov	x20, x0
	mov	x0, x19
	bl	_skcipher_givcrypt_reqctx
	mov	x22, x0
	mov	x0, x21
	bl	_skcipher_geniv_cipher
	mov	x1, x0
	mov	x0, x22
	bl	_ablkcipher_request_set_tfm
	ldp	w2, w1, [x19, #20]
	ldr	w3, [x19, #16]
	mov	x0, x22
	bl	_ablkcipher_request_set_callback
	ldp	w2, w1, [x19, #8]
	ldp	w4, w3, [x19]
	mov	x0, x22
	bl	_ablkcipher_request_set_crypt
Lloh0:
	adrp	x21, _CHAINIV_STATE_INUSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CHAINIV_STATE_INUSE@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_clear_bit
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_async_chainiv_postpone_request
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_async_chainiv_givencrypt_tail
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAINIV_STATE_INUSE,4,2        ; @CHAINIV_STATE_INUSE
	.no_dead_strip	_async_chainiv_givencrypt
.subsections_via_symbols
