	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_iv_lmk_one
_crypt_iv_lmk_one:                      ## @crypt_iv_lmk_one
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_desc@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movl	16(%r12), %esi
	callq	_SHASH_DESC_ON_STACK
	movl	16(%r12), %eax
	movq	(%r13), %rdi
	movl	%eax, (%rdi)
	callq	_crypto_shash_init
	testl	%eax, %eax
	je	LBB0_1
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	(%r13), %rdi
	movq	_LMK_SEED_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_crypto_shash_update
	testl	%eax, %eax
	jne	LBB0_10
LBB0_3:
	movq	(%r13), %rdi
	addq	$64, %rbx
	movq	%rbx, %rsi
	movl	$496, %edx                      ## imm = 0x1F0
	callq	_crypto_shash_update
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, -80(%rbp)
	callq	_cpu_to_le32
	movq	%rax, -72(%rbp)
	movl	$4024, %edi                     ## imm = 0xFB8
	callq	_cpu_to_le32
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	(%r13), %rdi
	leaq	-80(%rbp), %rsi
	movl	$32, %edx
	callq	_crypto_shash_update
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	(%r13), %rdi
	leaq	-88(%rbp), %rsi
	callq	_crypto_shash_export
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	_MD5_HASH_WORDS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rdi
	addq	%r13, %rdi
	callq	___cpu_to_le32s
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movl	(%r12), %edx
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdi
	callq	_memcpy
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_desc,8,3                       ## @desc
	.comm	_LMK_SEED_SIZE,4,2              ## @LMK_SEED_SIZE
	.comm	_MD5_HASH_WORDS,4,2             ## @MD5_HASH_WORDS
	.no_dead_strip	_crypt_iv_lmk_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_iv_lmk_one
_crypt_iv_lmk_one:                      ; @crypt_iv_lmk_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x23, _desc@GOTPAGE
Lloh4:
	ldr	x23, [x23, _desc@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	w1, [x20, #16]
	bl	_SHASH_DESC_ON_STACK
	ldr	w8, [x20, #16]
	ldr	x0, [x23]
	str	w8, [x0]
	bl	_crypto_shash_init
	cbz	w0, LBB0_3
LBB0_1:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x0, [x23]
Lloh8:
	adrp	x8, _LMK_SEED_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LMK_SEED_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_crypto_shash_update
	cbnz	w0, LBB0_1
LBB0_5:
	ldr	x0, [x23]
	add	x1, x22, #64
	mov	w2, #496
	bl	_crypto_shash_update
	cbnz	w0, LBB0_1
; %bb.6:
	ldr	w0, [x21]
	bl	_cpu_to_le32
	str	x0, [sp, #8]
	bl	_cpu_to_le32
	str	x0, [sp, #16]
	mov	w0, #4024
	bl	_cpu_to_le32
	stp	x0, xzr, [sp, #24]
	ldr	x0, [x23]
	add	x1, sp, #8
	mov	w2, #32
	bl	_crypto_shash_update
	cbnz	w0, LBB0_1
; %bb.7:
	ldr	x0, [x23]
	mov	x1, sp
	bl	_crypto_shash_export
	cbnz	w0, LBB0_1
; %bb.8:
Lloh11:
	adrp	x21, _MD5_HASH_WORDS@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MD5_HASH_WORDS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x22, #0
	mov	x23, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	add	x0, x8, x22
	bl	___cpu_to_le32s
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_10
LBB0_11:
	ldr	w2, [x20]
	mov	x1, sp
	mov	x0, x19
	bl	_memcpy
	mov	w0, #0
	b	LBB0_1
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_desc,8,3                       ; @desc
	.comm	_LMK_SEED_SIZE,4,2              ; @LMK_SEED_SIZE
	.comm	_MD5_HASH_WORDS,4,2             ; @MD5_HASH_WORDS
	.no_dead_strip	_crypt_iv_lmk_one
.subsections_via_symbols
