	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_x509_parse_tbscertificate    ## -- Begin function r_x509_parse_tbscertificate
	.p2align	4, 0x90
_r_x509_parse_tbscertificate:           ## @r_x509_parse_tbscertificate
	.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
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.2:
	movl	32(%rbx), %eax
	cmpl	$6, %eax
	jl	LBB0_28
## %bb.3:
	movq	%rdi, %r14
	movq	40(%rbx), %r13
	movq	(%r13), %rcx
	cmpl	$1, 32(%rcx)
	jne	LBB0_4
## %bb.5:
	movq	(%rcx), %rdx
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.6:
	movq	8(%rcx), %rdx
	movq	_FORM_CONSTRUCTED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.7:
	movq	40(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	16(%rcx), %rdx
	movq	_TAG_INTEGER@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.8:
	cmpl	$1, 24(%rcx)
	jne	LBB0_4
## %bb.9:
	movq	48(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	$1, %r12d
	jmp	LBB0_10
LBB0_4:
	xorl	%ecx, %ecx
	xorl	%r12d, %r12d
LBB0_10:
	movq	%rcx, (%r14)
	cmpq	%rax, %r12
	jae	LBB0_14
## %bb.11:
	movq	(%r13,%r12,8), %rax
	movq	(%rax), %rcx
	movq	_CLASS_UNIVERSAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.12:
	movq	16(%rax), %rcx
	movq	_TAG_INTEGER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.13:
	movq	48(%rax), %rdi
	movl	24(%rax), %esi
	callq	_r_asn1_stringify_integer
	movl	%eax, 52(%r14)
LBB0_14:
	leaq	48(%r14), %rdi
	movq	8(%r13,%r12,8), %rsi
	callq	_r_x509_parse_algorithmidentifier
	leaq	44(%r14), %rdi
	movq	16(%r13,%r12,8), %rsi
	callq	_r_x509_parse_name
	leaq	40(%r14), %rdi
	movq	24(%r13,%r12,8), %rsi
	callq	_r_x509_parse_validity
	leaq	36(%r14), %rdi
	movq	32(%r13,%r12,8), %rsi
	callq	_r_x509_parse_name
	leaq	32(%r14), %rdi
	movq	40(%r13,%r12,8), %rsi
	callq	_r_x509_parse_subjectpublickeyinfo
	movl	$1, %r15d
	cmpq	$0, (%r14)
	je	LBB0_28
## %bb.15:
	orq	$6, %r12
	movslq	32(%rbx), %rax
	cmpq	%rax, %r12
	jae	LBB0_28
## %bb.16:
	leaq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r12
	movslq	32(%rbx), %rax
	cmpq	%rax, %r12
	jae	LBB0_28
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r12,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rsi), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$1, 16(%rsi)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	40(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	48(%rax), %rdi
	movl	24(%rax), %esi
	callq	_r_asn1_create_binary
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rcx
	movq	%rax, 24(%r14)
	movq	(%r13,%r12,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$2, 16(%rsi)
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	40(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	48(%rax), %rdi
	movl	24(%rax), %esi
	callq	_r_asn1_create_binary
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rcx
	movq	%rax, 16(%r14)
	movq	(%r13,%r12,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$2, (%r14)
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$3, 16(%rsi)
	jne	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rsi), %rax
	movq	_FORM_CONSTRUCTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_x509_parse_extensions
	movq	_CLASS_CONTEXT@GOTPCREL(%rip), %rcx
	jmp	LBB0_27
LBB0_28:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLASS_CONTEXT,8,3              ## @CLASS_CONTEXT
	.comm	_FORM_CONSTRUCTED,8,3           ## @FORM_CONSTRUCTED
	.comm	_TAG_INTEGER,8,3                ## @TAG_INTEGER
	.comm	_CLASS_UNIVERSAL,8,3            ## @CLASS_UNIVERSAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_x509_parse_tbscertificate    ; -- Begin function r_x509_parse_tbscertificate
	.p2align	2
_r_x509_parse_tbscertificate:           ; @r_x509_parse_tbscertificate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	mov	w0, #0
	cbz	x20, LBB0_30
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_30
; %bb.2:
	ldr	w8, [x19, #32]
	cmp	w8, #6
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_30
LBB0_4:
	ldr	x22, [x19, #40]
	ldr	x9, [x22]
	ldr	w10, [x9, #32]
	cmp	w10, #1
	b.ne	LBB0_10
; %bb.5:
	ldr	x10, [x9]
Lloh0:
	adrp	x11, _CLASS_CONTEXT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CLASS_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.6:
	ldr	x10, [x9, #8]
Lloh3:
	adrp	x11, _FORM_CONSTRUCTED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _FORM_CONSTRUCTED@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.7:
	ldr	x9, [x9, #40]
	ldr	x9, [x9]
	ldr	x10, [x9, #16]
Lloh6:
	adrp	x11, _TAG_INTEGER@GOTPAGE
Lloh7:
	ldr	x11, [x11, _TAG_INTEGER@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.8:
	ldr	w10, [x9, #24]
	cmp	w10, #1
	b.ne	LBB0_10
; %bb.9:
	ldr	x9, [x9, #48]
	ldr	x9, [x9]
	mov	w21, #1
	b	LBB0_11
LBB0_10:
	mov	x9, #0
	mov	x21, #0
LBB0_11:
	str	x9, [x20]
	cmp	x21, x8
	b.hs	LBB0_15
; %bb.12:
	ldr	x8, [x22, x21, lsl #3]
	ldr	x9, [x8]
Lloh9:
	adrp	x10, _CLASS_UNIVERSAL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CLASS_UNIVERSAL@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.13:
	ldr	x9, [x8, #16]
Lloh12:
	adrp	x10, _TAG_INTEGER@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TAG_INTEGER@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.14:
	ldr	x0, [x8, #48]
	ldr	w1, [x8, #24]
	bl	_r_asn1_stringify_integer
	str	w0, [x20, #52]
LBB0_15:
	add	x0, x20, #48
	add	x23, x22, x21, lsl #3
	ldr	x1, [x23, #8]
	bl	_r_x509_parse_algorithmidentifier
	add	x0, x20, #44
	ldr	x1, [x23, #16]
	bl	_r_x509_parse_name
	add	x0, x20, #40
	ldr	x1, [x23, #24]
	bl	_r_x509_parse_validity
	add	x0, x20, #36
	ldr	x1, [x23, #32]
	bl	_r_x509_parse_name
	add	x0, x20, #32
	ldr	x1, [x23, #40]
	bl	_r_x509_parse_subjectpublickeyinfo
	ldr	x8, [x20]
	cbz	x8, LBB0_29
; %bb.16:
	orr	x23, x21, #0x6
	ldrsw	x8, [x19, #32]
	cmp	x23, x8
	b.hs	LBB0_29
; %bb.17:
	add	x21, x20, #8
Lloh15:
	adrp	x24, _CLASS_CONTEXT@GOTPAGE
Lloh16:
	ldr	x24, [x24, _CLASS_CONTEXT@GOTPAGEOFF]
Lloh17:
	adrp	x25, _FORM_CONSTRUCTED@GOTPAGE
Lloh18:
	ldr	x25, [x25, _FORM_CONSTRUCTED@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19, #32]
	cmp	x23, x8
	b.hs	LBB0_29
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, x23, lsl #3]
	cbz	x1, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x1]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x1, #16]
	cmp	x8, #1
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19, #40]
	lsl	x26, x23, #3
	ldr	x8, [x8, x26]
	ldr	x0, [x8, #48]
	ldr	w1, [x8, #24]
	bl	_r_asn1_create_binary
	str	x0, [x20, #24]
	ldr	x1, [x22, x26]
	cbz	x1, LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x1, #16]
	cmp	x8, #2
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19, #40]
	lsl	x26, x23, #3
	ldr	x8, [x8, x26]
	ldr	x0, [x8, #48]
	ldr	w1, [x8, #24]
	bl	_r_asn1_create_binary
	str	x0, [x20, #16]
	ldr	x1, [x22, x26]
	cbz	x1, LBB0_18
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x20]
	cmp	x8, #2
	b.ne	LBB0_18
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x1, #16]
	cmp	x8, #3
	b.ne	LBB0_18
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x1, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	_r_x509_parse_extensions
	b	LBB0_18
LBB0_29:
	mov	w0, #1
LBB0_30:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CLASS_CONTEXT,8,3              ; @CLASS_CONTEXT
	.comm	_FORM_CONSTRUCTED,8,3           ; @FORM_CONSTRUCTED
	.comm	_TAG_INTEGER,8,3                ; @TAG_INTEGER
	.comm	_CLASS_UNIVERSAL,8,3            ; @CLASS_UNIVERSAL
.subsections_via_symbols
