	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_chainiv_schedule_work
_async_chainiv_schedule_work:           ## @async_chainiv_schedule_work
	.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
	movl	(%rdi), %r14d
	cmpl	$0, 12(%rdi)
	je	LBB0_1
LBB0_3:
	movq	_kcrypto_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %rbx
	movq	%rbx, %rsi
	callq	_queue_work
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_smp_mb__before_clear_bit
	movq	_CHAINIV_STATE_INUSE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	8(%rbx), %r15
	movq	%r15, %rsi
	callq	_clear_bit
	cmpl	$0, 12(%rbx)
	je	LBB0_4
## %bb.2:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAINIV_STATE_INUSE,4,2        ## @CHAINIV_STATE_INUSE
	.comm	_kcrypto_wq,4,2                 ## @kcrypto_wq
	.no_dead_strip	_async_chainiv_schedule_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_chainiv_schedule_work
_async_chainiv_schedule_work:           ; @async_chainiv_schedule_work
	.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	x20, x0
	ldr	w19, [x0]
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _kcrypto_wq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kcrypto_wq@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_queue_work
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
LBB0_2:
	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
	ret
LBB0_3:
	bl	_smp_mb__before_clear_bit
Lloh3:
	adrp	x22, _CHAINIV_STATE_INUSE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CHAINIV_STATE_INUSE@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x21, x20, #8
	mov	x1, x21
	bl	_clear_bit
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_2
; %bb.4:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_and_set_bit
	cbnz	x0, LBB0_2
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAINIV_STATE_INUSE,4,2        ; @CHAINIV_STATE_INUSE
	.comm	_kcrypto_wq,4,2                 ; @kcrypto_wq
	.no_dead_strip	_async_chainiv_schedule_work
.subsections_via_symbols
