	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_get_basic_constraints
_x509_get_basic_constraints:            ## @x509_get_basic_constraints
	.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	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, (%rdx)
	movl	$0, (%rcx)
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jmp	LBB0_14
LBB0_2:
	xorl	%ebx, %ebx
	cmpq	%r15, (%r12)
	je	LBB0_14
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_mbedtls_asn1_get_bool
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_mbedtls_asn1_get_int
	testl	%eax, %eax
	jne	LBB0_6
## %bb.7:
	cmpl	$0, (%r13)
	je	LBB0_9
## %bb.8:
	movl	$1, (%r13)
LBB0_9:
	cmpq	%r15, (%r12)
	je	LBB0_14
## %bb.10:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_asn1_get_int
	testl	%eax, %eax
	je	LBB0_11
LBB0_6:
	movq	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpq	%r15, (%r12)
	je	LBB0_13
## %bb.12:
	movq	_MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	jmp	LBB0_14
LBB0_13:
	incl	(%r14)
	jmp	LBB0_14
	.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_X509_INVALID_EXTENSIONS,4,2 ## @MBEDTLS_ERR_X509_INVALID_EXTENSIONS
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ## @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_x509_get_basic_constraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_get_basic_constraints
_x509_get_basic_constraints:            ; @x509_get_basic_constraints
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [x2]
Lloh0:
	adrp	x8, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
	str	wzr, [x3]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x2, sp, #8
	bl	_mbedtls_asn1_get_tag
	cbz	w0, LBB0_3
LBB0_1:
Lloh6:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w0, w8, w0
LBB0_2:
	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
LBB0_3:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_mbedtls_asn1_get_bool
	cbz	w0, LBB0_9
; %bb.5:
Lloh9:
	adrp	x8, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_1
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_mbedtls_asn1_get_int
	cbnz	w0, LBB0_1
; %bb.7:
	ldr	w8, [x22]
	cbz	w8, LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x22]
LBB0_9:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_mbedtls_asn1_get_int
	cbnz	w0, LBB0_1
; %bb.11:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_14
; %bb.12:
Lloh12:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_EXTENSIONS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	add	w0, w9, w8
	b	LBB0_2
LBB0_13:
	mov	w0, #0
	b	LBB0_2
LBB0_14:
	mov	w0, #0
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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_X509_INVALID_EXTENSIONS,4,2 ; @MBEDTLS_ERR_X509_INVALID_EXTENSIONS
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ; @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_x509_get_basic_constraints
.subsections_via_symbols
