	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __gcm_hash_assoc_remain_done
___gcm_hash_assoc_remain_done:          ## @__gcm_hash_assoc_remain_done
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_crypto_gcm_reqctx
	testl	%ebx, %ebx
	je	LBB0_1
LBB0_9:
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___gcm_hash_crypt_remain_done   ## TAILCALL
LBB0_1:
	movq	%rax, %r12
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	callq	_gcm_remain
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:
	movq	_gcm_hash_crypt_remain_done@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_gcm_hash_crypt_done@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	movl	8(%r12), %ecx
	movq	(%r12), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_gcm_hash_update
	movl	%eax, %ebx
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_10
## %bb.7:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_8
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.11:
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___gcm_hash_crypt_done          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gcm_hash_crypt_done,4,2        ## @gcm_hash_crypt_done
	.comm	_gcm_hash_crypt_remain_done,4,2 ## @gcm_hash_crypt_remain_done
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	___gcm_hash_assoc_remain_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __gcm_hash_assoc_remain_done
___gcm_hash_assoc_remain_done:          ; @__gcm_hash_assoc_remain_done
	.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, x1
	mov	x19, x0
	bl	_crypto_gcm_reqctx
	cbz	w20, LBB0_2
LBB0_1:
	mov	x0, x19
	mov	x1, x20
	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	___gcm_hash_crypt_remain_done
LBB0_2:
	mov	x22, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_6
; %bb.3:
	bl	_gcm_remain
	mov	x21, x0
Lloh0:
	adrp	x8, _gcm_hash_crypt_done@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gcm_hash_crypt_done@GOTPAGEOFF]
Lloh2:
	adrp	x9, _gcm_hash_crypt_remain_done@GOTPAGE
Lloh3:
	ldr	x9, [x9, _gcm_hash_crypt_remain_done@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	ldr	w3, [x22, #8]
	ldr	x4, [x22]
	mov	x0, x19
	mov	x1, x22
	bl	_gcm_hash_update
Lloh4:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x20, x0
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_7
LBB0_5:
	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_6:
	mov	w20, #0
	b	LBB0_1
LBB0_7:
	cbz	w21, LBB0_1
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	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	___gcm_hash_crypt_done
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_gcm_hash_crypt_done,4,2        ; @gcm_hash_crypt_done
	.comm	_gcm_hash_crypt_remain_done,4,2 ; @gcm_hash_crypt_remain_done
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	___gcm_hash_assoc_remain_done
.subsections_via_symbols
