	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function IkeEncryptWithPadding
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	3                               ## 0x3
	.quad	3                               ## 0x3
LCPI0_2:
	.quad	5                               ## 0x5
	.quad	5                               ## 0x5
LCPI0_3:
	.quad	7                               ## 0x7
	.quad	7                               ## 0x7
LCPI0_4:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_IkeEncryptWithPadding
	.p2align	4, 0x90
_IkeEncryptWithPadding:                 ## @IkeEncryptWithPadding
	.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
	pushq	%rax
	movl	$12808, %eax                    ## imm = 0x3208
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.1:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.2:
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r15d
	cmpl	$1, %edx
	sbbl	$-1, %r15d
	imull	%ecx, %r15d
	testl	%r15d, %r15d
	cmovel	%ecx, %r15d
	cmpl	$12801, %r15d                   ## imm = 0x3201
	jb	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_Malloc
	movq	%rax, %r12
	jmp	LBB0_5
LBB0_4:
	leaq	-12848(%rbp), %r12
LBB0_5:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_Copy
	cmpl	%ebx, %r15d
	jle	LBB0_18
## %bb.6:
	movslq	%ebx, %r8
	movl	%ebx, %edx
	notl	%edx
	addl	%r15d, %edx
	cmpl	$3, %edx
	jae	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_8:
	incq	%rdx
	movq	%rdx, %rax
	andq	$-4, %rax
	leaq	-4(%rax), %rcx
	movq	%rcx, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.10:
	movq	%r9, %rsi
	andq	$-2, %rsi
	leaq	(%r12,%r8,8), %rcx
	addq	$48, %rcx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edi, %edi
	pcmpeqd	%xmm1, %xmm1
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [3,3]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [5,5]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [7,7]
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = [8,8]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm6
	psubq	%xmm1, %xmm6
	movdqa	%xmm0, %xmm7
	paddq	%xmm2, %xmm7
	movdqu	%xmm6, -48(%rcx,%rdi,8)
	movdqu	%xmm7, -32(%rcx,%rdi,8)
	movdqa	%xmm0, %xmm6
	paddq	%xmm3, %xmm6
	movdqa	%xmm0, %xmm7
	paddq	%xmm4, %xmm7
	movdqu	%xmm6, -16(%rcx,%rdi,8)
	movdqu	%xmm7, (%rcx,%rdi,8)
	addq	$8, %rdi
	paddq	%xmm5, %xmm0
	addq	$-2, %rsi
	jne	LBB0_11
## %bb.12:
	testb	$1, %r9b
	je	LBB0_14
LBB0_13:
	addq	%r8, %rdi
	pcmpeqd	%xmm1, %xmm1
	movdqa	%xmm0, %xmm2
	psubq	%xmm1, %xmm2
	paddq	LCPI0_1(%rip), %xmm0
	movdqu	%xmm2, (%r12,%rdi,8)
	movdqu	%xmm0, 16(%r12,%rdi,8)
LBB0_14:
	cmpq	%rax, %rdx
	je	LBB0_18
## %bb.15:
	addq	%rax, %r8
LBB0_16:
	leaq	(%r12,%r8,8), %rcx
	subl	%r15d, %ebx
	incq	%rax
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rcx)
	addq	$8, %rcx
	incq	%rax
	leal	(%rbx,%rax), %edx
	cmpl	$1, %edx
	jne	LBB0_17
LBB0_18:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_IkeEncrypt
	movq	%r12, %rdi
	movq	%rax, %r12
	cmpl	$12801, %r15d                   ## imm = 0x3201
	jb	LBB0_20
## %bb.19:
	callq	_Free
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movq	%r12, %rax
	addq	$12808, %rsp                    ## imm = 0x3208
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edi, %edi
	testb	$1, %r9b
	jne	LBB0_13
	jmp	LBB0_14
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function IkeEncryptWithPadding
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_IkeEncryptWithPadding
	.p2align	2
_IkeEncryptWithPadding:                 ; @IkeEncryptWithPadding
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	mov	w9, #12816
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #3, lsl #12             ; =12288
	sub	sp, sp, #528
	mov	x24, #0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_15
; %bb.2:
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	sdiv	w9, w1, w8
	msub	w10, w9, w8, w1
	cmp	w10, #0
	cinc	w9, w9, ne
	mul	w9, w9, w8
	cmp	w9, #0
	csel	w20, w8, w9, eq
	mov	w8, #12801
	cmp	w20, w8
	b.lo	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_Malloc
	mov	x21, x0
	b	LBB0_5
LBB0_4:
	add	x21, sp, #8
LBB0_5:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_Copy
	subs	w8, w20, w22
	b.le	LBB0_13
; %bb.6:
	sxtw	x12, w22
	mvn	w9, w22
	add	w9, w20, w9
	cmp	w9, #7
	b.hs	LBB0_8
; %bb.7:
	mov	x9, #0
	mov	x10, x12
	b	LBB0_11
LBB0_8:
	add	x11, x9, #1
	and	x9, x11, #0x1fffffff8
	add	x10, x9, x12
	add	x12, x21, x12, lsl #3
	add	x12, x12, #32
Lloh5:
	adrp	x13, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x13, lCPI0_0@PAGEOFF]
	mov	w13, #1
	dup.2d	v1, x13
	mov	w13, #3
	dup.2d	v2, x13
	mov	w13, #5
	dup.2d	v3, x13
	mov	w13, #7
	dup.2d	v4, x13
	mov	w13, #8
	dup.2d	v5, x13
	mov	x13, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v6, v0, v1
	add.2d	v7, v0, v2
	add.2d	v16, v0, v3
	add.2d	v17, v0, v4
	stp	q6, q7, [x12, #-32]
	stp	q16, q17, [x12], #64
	add.2d	v0, v0, v5
	subs	x13, x13, #8
	b.ne	LBB0_9
; %bb.10:
	cmp	x11, x9
	b.eq	LBB0_13
LBB0_11:
	add	x10, x21, x10, lsl #3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x9, #1
	str	x9, [x10], #8
	cmp	w8, w9
	b.ne	LBB0_12
LBB0_13:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_IkeEncrypt
	mov	x24, x0
	mov	w8, #12801
	cmp	w20, w8
	b.lo	LBB0_15
; %bb.14:
	mov	x0, x21
	bl	_Free
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x24
	add	sp, sp, #3, lsl #12             ; =12288
	add	sp, sp, #528
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
