	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_get_crl_ext
_x509_get_crl_ext:                      ## @x509_get_crl_ext
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_mbedtls_x509_get_ext
	testl	%eax, %eax
	je	LBB0_1
## %bb.11:
	movq	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	cmovnel	%eax, %ebx
	jmp	LBB0_10
LBB0_1:
	movq	(%r15), %rax
	cmpq	%r14, %rax
	jae	LBB0_6
## %bb.2:
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	addq	-48(%rbp), %rax
	movq	%rax, (%r15)
	cmpq	%r14, %rax
	jb	LBB0_3
LBB0_6:
	cmpq	%r14, %rax
	je	LBB0_7
## %bb.8:
	movq	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %ebx
	movq	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPCREL(%rip), %rax
LBB0_9:
	addl	(%rax), %ebx
	jmp	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ## @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ## @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ## @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS,4,2 ## @MBEDTLS_ERR_X509_INVALID_EXTENSIONS
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_x509_get_crl_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_get_crl_ext
_x509_get_crl_ext:                      ; @x509_get_crl_ext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	mov	w3, #0
	bl	_mbedtls_x509_get_ext
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	b	LBB0_10
LBB0_2:
	ldr	x8, [x20]
	cmp	x8, x19
	b.hs	LBB0_6
; %bb.3:
Lloh3:
	adrp	x21, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
Lloh5:
	adrp	x22, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w3, w9, w8
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_mbedtls_asn1_get_tag
	cbnz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	add	x8, x9, x8
	cmp	x8, x19
	str	x8, [x20]
	b.lo	LBB0_4
LBB0_6:
	cmp	x8, x19
	b.eq	LBB0_9
; %bb.7:
Lloh7:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	add	w0, w9, w8
	b	LBB0_10
LBB0_8:
Lloh13:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	w0, w8, w0
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ; @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ; @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ; @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS,4,2 ; @MBEDTLS_ERR_X509_INVALID_EXTENSIONS
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_x509_get_crl_ext
.subsections_via_symbols
