	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gcm_cipher_internal
_gcm_cipher_internal:                   ## @gcm_cipher_internal
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_UNINITIALISED_SIZET@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_25
## %bb.1:
	cmpl	$0, 40(%rbx)
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rax
	movq	_IV_STATE_FINISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_25:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	movq	%r15, %r8
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gcm_tls_cipher                 ## TAILCALL
LBB0_4:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	48(%rbx), %r14
	movq	_IV_STATE_UNINITIALISED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	cmpl	$0, 28(%rbx)
	je	LBB0_6
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gcm_iv_generate
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	8(%rbx), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_UNINITIALISED_SIZET@GOTPCREL(%rip), %rsi
LBB0_10:
	movq	_IV_STATE_BUFFERED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.11:
	movl	32(%rbx), %edx
	movl	36(%rbx), %esi
	movq	%rbx, %rdi
	callq	*24(%r14)
	testl	%eax, %eax
	je	LBB0_6
## %bb.12:
	movq	_IV_STATE_COPIED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_UNINITIALISED_SIZET@GOTPCREL(%rip), %rsi
LBB0_13:
	testq	%r12, %r12
	je	LBB0_18
## %bb.14:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	testq	%r13, %r13
	je	LBB0_15
## %bb.17:
	movq	%r13, %rcx
	callq	*8(%r14)
	jmp	LBB0_16
LBB0_18:
	cmpl	$0, 28(%rbx)
	jne	LBB0_20
## %bb.19:
	movq	16(%rbx), %rax
	cmpq	(%rsi), %rax
	je	LBB0_6
LBB0_20:
	movl	24(%rbx), %esi
	movq	%rbx, %rdi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_6
## %bb.21:
	movq	_IV_STATE_FINISHED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_22
LBB0_15:
	callq	*16(%r14)
LBB0_16:
	testl	%eax, %eax
	je	LBB0_6
LBB0_22:
	movl	$1, %r14d
	jmp	LBB0_23
LBB0_6:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_23:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_24:
	movq	%r15, (%rdx)
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_UNINITIALISED_SIZET,8,3        ## @UNINITIALISED_SIZET
	.comm	_IV_STATE_FINISHED,8,3          ## @IV_STATE_FINISHED
	.comm	_IV_STATE_UNINITIALISED,8,3     ## @IV_STATE_UNINITIALISED
	.comm	_IV_STATE_BUFFERED,8,3          ## @IV_STATE_BUFFERED
	.comm	_IV_STATE_COPIED,8,3            ## @IV_STATE_COPIED
	.no_dead_strip	_gcm_cipher_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gcm_cipher_internal
_gcm_cipher_internal:                   ; @gcm_cipher_internal
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x25, _UNINITIALISED_SIZET@GOTPAGE
Lloh1:
	ldr	x25, [x25, _UNINITIALISED_SIZET@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x21, #40]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
Lloh2:
	adrp	x24, _IV_STATE_FINISHED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IV_STATE_FINISHED@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_3:
	mov	x20, #0
	mov	w0, #0
LBB0_4:
	str	x20, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	mov	x4, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_gcm_tls_cipher
LBB0_6:
	ldr	x26, [x21, #48]
Lloh4:
	adrp	x9, _IV_STATE_UNINITIALISED@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IV_STATE_UNINITIALISED@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
	ldr	w8, [x21, #28]
	cbz	w8, LBB0_3
; %bb.8:
	mov	x0, x21
	mov	w1, #0
	bl	_gcm_iv_generate
	cbz	w0, LBB0_22
; %bb.9:
	ldr	x8, [x21, #8]
LBB0_10:
Lloh7:
	adrp	x9, _IV_STATE_BUFFERED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IV_STATE_BUFFERED@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	ldr	x8, [x26, #24]
	ldp	w2, w1, [x21, #32]
	mov	x0, x21
	blr	x8
	cbz	w0, LBB0_22
; %bb.12:
Lloh10:
	adrp	x8, _IV_STATE_COPIED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IV_STATE_COPIED@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x21, #8]
LBB0_13:
	cbz	x22, LBB0_16
; %bb.14:
	cbz	x23, LBB0_20
; %bb.15:
	ldr	x8, [x26, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x23
	blr	x8
	cbnz	w0, LBB0_21
	b	LBB0_22
LBB0_16:
	ldr	w8, [x21, #28]
	cbnz	w8, LBB0_18
; %bb.17:
	ldr	x8, [x21, #16]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_18:
	ldr	x8, [x26]
	ldr	w1, [x21, #24]
	mov	x0, x21
	blr	x8
	mov	x20, #0
	cbz	w0, LBB0_4
; %bb.19:
	ldr	x8, [x24]
	str	x8, [x21, #8]
	b	LBB0_21
LBB0_20:
	ldr	x8, [x26, #16]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	blr	x8
	cbz	w0, LBB0_22
LBB0_21:
	mov	w0, #1
	b	LBB0_4
LBB0_22:
	mov	x20, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UNINITIALISED_SIZET,8,3        ; @UNINITIALISED_SIZET
	.comm	_IV_STATE_FINISHED,8,3          ; @IV_STATE_FINISHED
	.comm	_IV_STATE_UNINITIALISED,8,3     ; @IV_STATE_UNINITIALISED
	.comm	_IV_STATE_BUFFERED,8,3          ; @IV_STATE_BUFFERED
	.comm	_IV_STATE_COPIED,8,3            ; @IV_STATE_COPIED
	.no_dead_strip	_gcm_cipher_internal
.subsections_via_symbols
