	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_gcm_init_crypt
_crypto_gcm_init_crypt:                 ## @crypto_gcm_init_crypt
	.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
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_crypto_aead_reqtfm
	movq	%rax, %rdi
	callq	_crypto_aead_ctx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_crypto_gcm_reqctx
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_cpu_to_be32
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r13), %edi
	addl	$12, %edi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rdi
	movl	$2, %esi
	callq	_sg_init_table
	movq	(%rbx), %rdi
	movl	16(%rbx), %esi
	movl	$4, %edx
	callq	_sg_set_buf
	movq	(%rbx), %rdi
	movl	8(%r13), %edx
	movl	$2, %esi
	callq	_scatterwalk_sg_chain
	movl	8(%r13), %eax
	movq	%rbx, %r12
	cmpl	4(%r13), %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %r12
	addq	$8, %r12
	movq	8(%rbx), %rdi
	movl	$2, %esi
	callq	_sg_init_table
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	movl	$4, %edx
	callq	_sg_set_buf
	movq	8(%rbx), %rdi
	movl	4(%r13), %edx
	movl	$2, %esi
	callq	_scatterwalk_sg_chain
LBB0_2:
	movq	(%r12), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ablkcipher_request_set_tfm
	movq	(%rbx), %rsi
	addl	$4, %r15d
	movl	(%r13), %r8d
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_ablkcipher_request_set_crypt
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_crypto_gcm_init_crypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_gcm_init_crypt
_crypto_gcm_init_crypt:                 ; @crypto_gcm_init_crypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_crypto_aead_reqtfm
	bl	_crypto_aead_ctx
	mov	x22, x0
	mov	x0, x20
	bl	_crypto_gcm_reqctx
	mov	x23, x0
	mov	w0, #1
	bl	_cpu_to_be32
	str	w0, [sp, #12]
	ldr	w0, [x23, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20]
	add	w0, w8, #12
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x23]
	mov	w1, #2
	bl	_sg_init_table
	ldr	x0, [x23]
	ldr	w1, [x23, #16]
	mov	w2, #4
	bl	_sg_set_buf
	ldr	x0, [x23]
	ldr	w2, [x20, #8]
	mov	w1, #2
	bl	_scatterwalk_sg_chain
	ldp	w9, w8, [x20, #4]
	mov	x24, x23
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x24, x23
	ldr	x0, [x24, #8]!
	mov	w1, #2
	bl	_sg_init_table
	ldr	x0, [x24]
	ldr	w1, [x24, #8]
	mov	w2, #4
	bl	_sg_set_buf
	ldr	x0, [x24]
	ldr	w2, [x20, #4]
	mov	w1, #2
	bl	_scatterwalk_sg_chain
LBB0_2:
	ldr	x24, [x24]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ablkcipher_request_set_tfm
	ldr	x1, [x23]
	add	w3, w21, #4
	ldr	w4, [x20]
	mov	x0, x19
	mov	x2, x24
	bl	_ablkcipher_request_set_crypt
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_crypto_gcm_init_crypt
.subsections_via_symbols
