	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pbkdf2_sha1_f
_pbkdf2_sha1_f:                         ## @pbkdf2_sha1_f
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%r9, %r13
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movl	%r8d, -104(%rbp)                ## 4-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, %rdi
	callq	_os_strlen
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, -64(%rbp)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -80(%rbp)
	leaq	-84(%rbp), %rcx
	movq	%rcx, -56(%rbp)
	movq	$4, -72(%rbp)
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %edx
	shrl	$24, %edx
	movb	%dl, -84(%rbp)
	movl	%ecx, %edx
	shrl	$16, %edx
	movb	%dl, -83(%rbp)
	movb	%ch, -82(%rbp)
	movb	%cl, -81(%rbp)
	leaq	-64(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	%rax, %rsi
	movl	$2, %edx
	movq	%r12, %r9
	callq	_hmac_sha1_vector
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_2:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_os_memcpy
	xorl	%eax, %eax
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$2, %ecx
	jl	LBB0_11
## %bb.3:
	movl	(%r14), %ecx
	movl	$1, %r15d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r15d
	cmpl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_10
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r12, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	%rbx, %r8
	callq	_hmac_sha1
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_os_memcpy
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx,%rax), %ecx
	xorb	%cl, (%r13,%rax)
	incq	%rax
	movslq	(%r14), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_8
	jmp	LBB0_4
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_MAC_LEN,4,2               ## @SHA1_MAC_LEN
	.no_dead_strip	_pbkdf2_sha1_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pbkdf2_sha1_f
_pbkdf2_sha1_f:                         ; @pbkdf2_sha1_f
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x19, x5
	mov	x25, x4
	mov	x20, x3
	mov	x26, x2
	mov	x27, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _SHA1_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x28, [x28, _SHA1_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	bl	_os_strlen
	mov	x24, x0
	sub	x8, x29, #124
	stp	x27, x8, [x29, #-104]
	mov	w8, #4
	stp	x26, x8, [x29, #-120]
	lsr	w8, w25, #24
	sturb	w8, [x29, #-124]
	lsr	w8, w25, #16
	sturb	w8, [x29, #-123]
	lsr	w8, w25, #8
	sturb	w8, [x29, #-122]
	sturb	w25, [x29, #-121]
	sub	x3, x29, #104
	sub	x4, x29, #120
	mov	x0, x21
	mov	x1, x24
	mov	w2, #2
	mov	x5, x22
	bl	_hmac_sha1_vector
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_10
LBB0_2:
	ldr	w2, [x28]
	mov	x0, x19
	mov	x1, x22
	bl	_os_memcpy
	cmp	w20, #2
	b.lt	LBB0_9
; %bb.3:
	ldr	w3, [x28]
	mov	w25, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	cmp	w25, w20
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x23
	bl	_hmac_sha1
	cbnz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x28]
	mov	x0, x22
	mov	x1, x23
	bl	_os_memcpy
	ldr	w3, [x28]
	cmp	w3, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x23, x8]
	ldrb	w10, [x19, x8]
	eor	w9, w10, w9
	strb	w9, [x19, x8]
	add	x8, x8, #1
	ldrsw	x3, [x28]
	cmp	x8, x3
	b.lt	LBB0_8
	b	LBB0_4
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldur	x8, [x29, #-88]
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:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_MAC_LEN,4,2               ; @SHA1_MAC_LEN
	.no_dead_strip	_pbkdf2_sha1_f
.subsections_via_symbols
