	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkcs5_parse_pbkdf2_params
_pkcs5_parse_pbkdf2_params:             ## @pkcs5_parse_pbkdf2_params
	.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	%rcx, %r12
	movq	(%rdi), %r15
	movq	%r15, -48(%rbp)
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	cmpl	%ecx, 12(%rdi)
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movslq	8(%rdi), %rax
	addq	%rax, %r15
	leaq	8(%rsi), %rdx
	movq	_MBEDTLS_ASN1_OCTET_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	movslq	8(%r14), %rcx
	addq	%rax, %rcx
	movq	%rcx, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_mbedtls_asn1_get_int
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	movl	%eax, %ebx
	movq	_MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_1:
	movq	_MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rcx
LBB0_15:
	movl	(%rcx), %ebx
LBB0_16:
	addl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	cmpq	%r15, -48(%rbp)
	je	LBB0_17
## %bb.6:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_mbedtls_asn1_get_int
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
LBB0_9:
	cmpq	%r15, -48(%rbp)
	je	LBB0_17
## %bb.10:
	leaq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rdx
	movq	%r15, %rsi
	callq	_mbedtls_asn1_get_alg_null
	testl	%eax, %eax
	je	LBB0_11
LBB0_8:
	movq	_MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_11:
	movq	_MBEDTLS_OID_HMAC_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rsi
	callq	_MBEDTLS_OID_CMP
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_13:
	movq	_MBEDTLS_MD_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpq	%r15, -48(%rbp)
	je	LBB0_17
## %bb.14:
	movq	_MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ## @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ## @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_PKCS5_INVALID_FORMAT,4,2 ## @MBEDTLS_ERR_PKCS5_INVALID_FORMAT
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ## @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ASN1_OCTET_STRING,4,2  ## @MBEDTLS_ASN1_OCTET_STRING
	.comm	_MBEDTLS_OID_HMAC_SHA1,4,2      ## @MBEDTLS_OID_HMAC_SHA1
	.comm	_MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE,4,2 ## @MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE
	.comm	_MBEDTLS_MD_SHA1,4,2            ## @MBEDTLS_MD_SHA1
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_pkcs5_parse_pbkdf2_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkcs5_parse_pbkdf2_params
_pkcs5_parse_pbkdf2_params:             ; @pkcs5_parse_pbkdf2_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldr	x8, [x0]
	str	x8, [sp, #8]
	ldr	w9, [x0, #12]
Lloh0:
	adrp	x10, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldrsw	x9, [x0, #8]
	add	x20, x8, x9
	add	x2, x1, #8
Lloh6:
	adrp	x8, _MBEDTLS_ASN1_OCTET_STRING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_ASN1_OCTET_STRING@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x1, x20
	bl	_mbedtls_asn1_get_tag
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	str	x8, [x23]
	ldrsw	x9, [x23, #8]
	add	x8, x8, x9
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x22
	bl	_mbedtls_asn1_get_int
	cbz	w0, LBB0_7
LBB0_3:
Lloh9:
	adrp	x8, _MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w0, w8, w0
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	add	w0, w9, w8
LBB0_6:
	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
	add	sp, sp, #96
	ret
LBB0_7:
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_16
; %bb.8:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x21
	bl	_mbedtls_asn1_get_int
	cbz	w0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
LBB0_10:
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_16
; %bb.11:
	add	x0, sp, #8
	add	x2, sp, #16
	mov	x1, x20
	bl	_mbedtls_asn1_get_alg_null
	cbnz	w0, LBB0_3
; %bb.12:
Lloh20:
	adrp	x8, _MBEDTLS_OID_HMAC_SHA1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MBEDTLS_OID_HMAC_SHA1@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	add	x1, sp, #16
	bl	_MBEDTLS_OID_CMP
	cbz	x0, LBB0_14
; %bb.13:
Lloh23:
	adrp	x8, _MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_14:
Lloh26:
	adrp	x8, _MBEDTLS_MD_SHA1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MBEDTLS_MD_SHA1@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_16
; %bb.15:
Lloh29:
	adrp	x8, _MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS5_INVALID_FORMAT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
	b	LBB0_5
LBB0_16:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ; @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ; @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_PKCS5_INVALID_FORMAT,4,2 ; @MBEDTLS_ERR_PKCS5_INVALID_FORMAT
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ; @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ASN1_OCTET_STRING,4,2  ; @MBEDTLS_ASN1_OCTET_STRING
	.comm	_MBEDTLS_OID_HMAC_SHA1,4,2      ; @MBEDTLS_OID_HMAC_SHA1
	.comm	_MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE,4,2 ; @MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE
	.comm	_MBEDTLS_MD_SHA1,4,2            ; @MBEDTLS_MD_SHA1
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_pkcs5_parse_pbkdf2_params
.subsections_via_symbols
