	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkcs5_crypto_init
_pkcs5_crypto_init:                     ## @pkcs5_crypto_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	(%rbx), %rax
	movq	_PKCS5_ALG_PBES2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pkcs5_crypto_init_pbes2        ## TAILCALL
LBB0_3:
	movq	_PKCS5_ALG_SHA1_3DES_CBC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pkcs12_crypto_init_sha1        ## TAILCALL
LBB0_6:
	movq	_PKCS5_ALG_MD5_DES_CBC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.7:
	movq	%r15, -64(%rbp)
	movq	%r15, %rdi
	callq	_os_strlen
	movq	%rax, -80(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -56(%rbp)
	movq	8(%rbx), %rax
	movq	%rax, -72(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movl	$2, %edi
	movq	%r14, %rcx
	callq	_md5_vector
	testq	%rax, %rax
	js	LBB0_14
## %bb.8:
	movq	%r14, -64(%rbp)
	movslq	(%r12), %rax
	movq	%rax, -80(%rbp)
	cmpl	$2, 16(%rbx)
	jb	LBB0_12
## %bb.9:
	movl	$1, %r12d
	leaq	-80(%rbp), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_md5_vector
	testq	%rax, %rax
	js	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%r12d
	cmpl	16(%rbx), %r12d
	jb	LBB0_10
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	$8, %ecx
	callq	_wpa_hexdump_key
	movl	(%rbx), %edi
	movq	%r14, %rbx
	addq	$32, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movl	$8, %ecx
	callq	_wpa_hexdump_key
	movq	_CRYPTO_CIPHER_ALG_DES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	$8, %ecx
	callq	_crypto_cipher_init
	movq	%rax, %r15
	jmp	LBB0_15
LBB0_14:
	xorl	%r15d, %r15d
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_MAC_LEN,4,2                ## @MD5_MAC_LEN
	.comm	_PKCS5_ALG_PBES2,8,3            ## @PKCS5_ALG_PBES2
	.comm	_PKCS5_ALG_SHA1_3DES_CBC,8,3    ## @PKCS5_ALG_SHA1_3DES_CBC
	.comm	_PKCS5_ALG_MD5_DES_CBC,8,3      ## @PKCS5_ALG_MD5_DES_CBC
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PKCS #5: DES key"

L_.str.1:                               ## @.str.1
	.asciz	"PKCS #5: DES IV"

	.comm	_CRYPTO_CIPHER_ALG_DES,4,2      ## @CRYPTO_CIPHER_ALG_DES
	.no_dead_strip	_pkcs5_crypto_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkcs5_crypto_init
_pkcs5_crypto_init:                     ; @pkcs5_crypto_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _MD5_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MD5_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0]
Lloh7:
	adrp	x9, _PKCS5_ALG_PBES2@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PKCS5_ALG_PBES2@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.2:
	mov	x0, x19
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pkcs5_crypto_init_pbes2
LBB0_3:
Lloh13:
	adrp	x9, _PKCS5_ALG_SHA1_3DES_CBC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PKCS5_ALG_SHA1_3DES_CBC@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.5:
	mov	x0, x19
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pkcs12_crypto_init_sha1
LBB0_6:
Lloh19:
	adrp	x9, _PKCS5_ALG_MD5_DES_CBC@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PKCS5_ALG_MD5_DES_CBC@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.7:
	stur	x1, [x29, #-56]
	mov	x0, x1
	bl	_os_strlen
	ldr	x8, [x19, #24]
	stur	x8, [x29, #-48]
	ldr	x8, [x19, #8]
	stp	x0, x8, [x29, #-72]
	sub	x1, x29, #56
	sub	x2, x29, #72
	mov	w0, #2
	mov	x3, x20
	bl	_md5_vector
	tbnz	x0, #63, LBB0_13
; %bb.8:
	stur	x20, [x29, #-56]
	ldrsw	x8, [x21]
	stur	x8, [x29, #-72]
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lo	LBB0_12
; %bb.9:
	mov	w21, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	x1, x29, #56
	sub	x2, x29, #72
	mov	w0, #1
	mov	x3, x20
	bl	_md5_vector
	tbnz	x0, #63, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19, #16]
	cmp	w21, w8
	b.lo	LBB0_10
LBB0_12:
Lloh22:
	adrp	x19, _MSG_DEBUG@GOTPAGE
Lloh23:
	ldr	x19, [x19, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	w3, #8
	bl	_wpa_hexdump_key
	ldr	w0, [x19]
	add	x19, x20, #32
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	w3, #8
	bl	_wpa_hexdump_key
Lloh28:
	adrp	x8, _CRYPTO_CIPHER_ALG_DES@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CRYPTO_CIPHER_ALG_DES@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x20
	mov	w3, #8
	bl	_crypto_cipher_init
	b	LBB0_14
LBB0_13:
	mov	x0, #0
LBB0_14:
	ldur	x8, [x29, #-40]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_MAC_LEN,4,2                ; @MD5_MAC_LEN
	.comm	_PKCS5_ALG_PBES2,8,3            ; @PKCS5_ALG_PBES2
	.comm	_PKCS5_ALG_SHA1_3DES_CBC,8,3    ; @PKCS5_ALG_SHA1_3DES_CBC
	.comm	_PKCS5_ALG_MD5_DES_CBC,8,3      ; @PKCS5_ALG_MD5_DES_CBC
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PKCS #5: DES key"

l_.str.1:                               ; @.str.1
	.asciz	"PKCS #5: DES IV"

	.comm	_CRYPTO_CIPHER_ALG_DES,4,2      ; @CRYPTO_CIPHER_ALG_DES
	.no_dead_strip	_pkcs5_crypto_init
.subsections_via_symbols
