	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_128_wrap                ## -- Begin function CRYPTO_128_wrap
	.p2align	4, 0x90
_CRYPTO_128_wrap:                       ## @CRYPTO_128_wrap
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	cmpq	$16, %r8
	jb	LBB0_12
## %bb.1:
	movq	%r8, %rbx
	movl	%ebx, %edx
	andl	$7, %edx
	testq	%rdx, %rdx
	jne	LBB0_12
## %bb.2:
	movq	_CRYPTO128_WRAP_MAX@GOTPCREL(%rip), %rdx
	cmpq	%rbx, (%rdx)
	jb	LBB0_12
## %bb.3:
	movq	%rsi, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %rdi
	movq	%rcx, %rsi
	movq	%rbx, %rdx
	callq	_memmove
	testq	%r14, %r14
	jne	LBB0_5
## %bb.4:
	movq	_default_iv@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_5:
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	$1, %r12d
	leaq	-56(%rbp), %r14
	xorl	%eax, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	$6, %rax
	je	LBB0_11
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_memcpy
	addq	$8, %r13
	incq	%r12
	cmpq	%rbx, %r13
	jae	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %r15
	addq	$8, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	leaq	-64(%rbp), %rdi
	movq	%rdi, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	*-96(%rbp)                      ## 8-byte Folded Reload
	xorb	%r12b, -57(%rbp)
	cmpq	$256, %r12                      ## imm = 0x100
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%r12, %rax
	shrq	$8, %rax
	xorb	%al, -58(%rbp)
	movq	%r12, %rax
	shrq	$16, %rax
	xorb	%al, -59(%rbp)
	movq	%r12, %rax
	shrq	$24, %rax
	xorb	%al, -60(%rbp)
	jmp	LBB0_9
LBB0_11:
	leaq	-64(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	addq	$8, %rbx
	movq	%rbx, %rax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO128_WRAP_MAX,8,3         ## @CRYPTO128_WRAP_MAX
	.comm	_default_iv,8,3                 ## @default_iv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_128_wrap                ; -- Begin function CRYPTO_128_wrap
	.p2align	2
_CRYPTO_128_wrap:                       ; @CRYPTO_128_wrap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x0
	mov	x0, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	x4, #16
	b.lo	LBB0_10
; %bb.1:
	mov	x19, x4
	and	x8, x4, #0x7
	cbnz	x8, LBB0_10
; %bb.2:
Lloh3:
	adrp	x8, _CRYPTO128_WRAP_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTO128_WRAP_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	b.lo	LBB0_10
; %bb.3:
	mov	x21, x5
	mov	x20, x2
	mov	x23, x1
	add	x0, x2, #8
	mov	x1, x3
	mov	x2, x19
	bl	_memmove
Lloh6:
	adrp	x8, _default_iv@GOTPAGE
Lloh7:
	ldr	x8, [x8, _default_iv@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x23, #0
	csel	x1, x8, x23, eq
	add	x23, sp, #8
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	mov	x25, #0
	add	x23, x23, #8
	mov	w26, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	cmp	x25, #6
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x27, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x24
	mov	x1, x23
	mov	w2, #8
	bl	_memcpy
	add	x27, x27, #8
	add	x26, x26, #1
	cmp	x27, x19
	b.hs	LBB0_4
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x20, x27
	add	x24, x8, #8
	mov	x0, x23
	mov	x1, x24
	mov	w2, #8
	bl	_memcpy
	add	x0, sp, #8
	add	x1, sp, #8
	mov	x2, x22
	blr	x21
	ldrb	w8, [sp, #15]
	eor	w8, w8, w26
	strb	w8, [sp, #15]
	cmp	x26, #256
	b.lo	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrb	w8, [sp, #14]
	eor	w8, w8, w26, lsr #8
	strb	w8, [sp, #14]
	ldrb	w8, [sp, #13]
	eor	w8, w8, w26, lsr #16
	strb	w8, [sp, #13]
	ldrb	w8, [sp, #12]
	eor	w8, w8, w26, lsr #24
	strb	w8, [sp, #12]
	b	LBB0_6
LBB0_9:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #8
	bl	_memcpy
	add	x0, x19, #8
LBB0_10:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO128_WRAP_MAX,8,3         ; @CRYPTO128_WRAP_MAX
	.comm	_default_iv,8,3                 ; @default_iv
.subsections_via_symbols
