	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkcs12_parse_pbe_params
_pkcs12_parse_pbe_params:               ## @pkcs12_parse_pbe_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	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, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movslq	8(%rdi), %r15
	addq	(%rdi), %r15
	leaq	8(%rsi), %rdx
	movq	_MBEDTLS_ASN1_OCTET_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	movslq	8(%r12), %rax
	addq	%rax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_asn1_get_int
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	movq	_MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_1:
	movq	_MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPCREL(%rip), %rcx
	movq	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addl	(%rcx), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	%r15, (%rbx)
	je	LBB0_6
## %bb.7:
	movq	_MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPCREL(%rip), %rcx
	movq	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
	.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_PKCS12_PBE_INVALID_FORMAT,4,2 ## @MBEDTLS_ERR_PKCS12_PBE_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_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_pkcs12_parse_pbe_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkcs12_parse_pbe_params
_pkcs12_parse_pbe_params:               ; @pkcs12_parse_pbe_params
	.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
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldrsw	x9, [x0, #8]
	add	x21, 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]
	mov	x1, x21
	bl	_mbedtls_asn1_get_tag
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	str	x8, [x22]
	ldrsw	x8, [x22, #8]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_mbedtls_asn1_get_int
	cbz	w0, LBB0_7
LBB0_3:
Lloh9:
	adrp	x8, _MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w0, w8, w0
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS12_PBE_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, #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_7:
	ldr	x8, [x19]
	cmp	x8, x21
	b.eq	LBB0_9
; %bb.8:
Lloh17:
	adrp	x8, _MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
	b	LBB0_5
LBB0_9:
	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 AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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_PKCS12_PBE_INVALID_FORMAT,4,2 ; @MBEDTLS_ERR_PKCS12_PBE_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_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_pkcs12_parse_pbe_params
.subsections_via_symbols
