	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_parse_tbs_certificate
_x509_parse_tbs_certificate:            ## @x509_parse_tbs_certificate
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movl	-188(%rbp), %edx
	testq	%rax, %rax
	js	LBB0_14
## %bb.1:
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %r12
	cmpl	(%r12), %edx
	jne	LBB0_14
## %bb.2:
	movl	-208(%rbp), %eax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.3:
	movq	-200(%rbp), %rdi
	movq	%rdi, -184(%rbp)
	movslq	-192(%rbp), %rsi
	leaq	(%rdi,%rsi,8), %r14
	movq	%r14, (%rbx)
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_17
## %bb.4:
	movq	-200(%rbp), %rdi
	movq	%rdi, -184(%rbp)
	movl	-188(%rbp), %eax
	movq	_ASN1_CLASS_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.5:
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	testq	%rax, %rax
	js	LBB0_17
## %bb.6:
	movl	-208(%rbp), %ecx
	movl	-188(%rbp), %edx
	cmpl	(%r12), %edx
	jne	LBB0_39
## %bb.7:
	movq	_ASN1_TAG_INTEGER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_39
## %bb.8:
	movl	-192(%rbp), %edx
	cmpl	$1, %edx
	jne	LBB0_40
## %bb.9:
	movq	-200(%rbp), %rdi
	movq	(%rdi), %rdx
	addq	$8, %rdi
	movq	%rdi, -184(%rbp)
	movq	%rdx, (%r15)
	movq	_X509_CERT_V1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_41
## %bb.10:
	movq	_X509_CERT_V2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_41
## %bb.11:
	movq	_X509_CERT_V3@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_41
## %bb.12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incq	%rdx
	leaq	L_.str.3(%rip), %rsi
LBB0_13:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-208(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_16:
	movl	$-1, %ebx
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_65
## %bb.18:
	movl	%ebx, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_X509_CERT_V1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, (%r15)
LBB0_20:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	incq	%rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-208(%rbp), %ecx
	movl	-188(%rbp), %edx
	cmpl	(%r12), %edx
	jne	LBB0_37
## %bb.21:
	movq	_ASN1_TAG_INTEGER@GOTPCREL(%rip), %rax
	movl	-192(%rbp), %r8d
	cmpl	(%rax), %ecx
	jne	LBB0_38
## %bb.22:
	testl	%r8d, %r8d
	jle	LBB0_38
## %bb.23:
	movq	_X509_MAX_SERIAL_NUM_LEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jg	LBB0_38
## %bb.24:
	movq	-200(%rbp), %rsi
	leaq	(%rsi,%r8,8), %r12
	movq	%r12, -184(%rbp)
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rsi)
	jne	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	addq	$8, %rsi
	movq	%rsi, -200(%rbp)
	leal	-1(%r8), %eax
	movl	%eax, -192(%rbp)
	cmpl	$1, %r8d
	movl	%eax, %r8d
	jg	LBB0_25
## %bb.27:
	xorl	%r8d, %r8d
LBB0_28:
	movq	8(%r15), %rdi
	movl	%r8d, %edx
	callq	_os_memcpy
	movl	-192(%rbp), %ecx
	movl	%ecx, 16(%r15)
	movl	(%r13), %edi
	movq	8(%r15), %rdx
	leaq	L_.str.6(%rip), %rsi
	callq	_wpa_hexdump
	movq	%r14, %rsi
	subq	%r12, %rsi
	shrq	$3, %rsi
	leaq	44(%r15), %rdx
	leaq	-184(%rbp), %rcx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_x509_parse_algorithm_identifier
	testq	%rax, %rax
	jne	LBB0_17
## %bb.29:
	movq	-184(%rbp), %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	40(%r15), %r12
	leaq	-184(%rbp), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	callq	_x509_parse_name
	testq	%rax, %rax
	jne	LBB0_17
## %bb.30:
	leaq	-176(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rsi, %r12
	movl	$128, %edx
	callq	_x509_name_string
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-184(%rbp), %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-184(%rbp), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r15, %rdx
	callq	_x509_parse_validity
	testq	%rax, %rax
	jne	LBB0_17
## %bb.31:
	movq	-184(%rbp), %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	36(%r15), %r12
	leaq	-184(%rbp), %rcx
	movq	%rdi, -224(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	callq	_x509_parse_name
	testq	%rax, %rax
	jne	LBB0_17
## %bb.32:
	movq	%r12, -216(%rbp)                ## 8-byte Spill
	movq	-184(%rbp), %rdi
	movq	-224(%rbp), %r12                ## 8-byte Reload
	subq	%r12, %rdi
	shrq	$3, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_os_malloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_17
## %bb.33:
	movq	-184(%rbp), %rdx
	subq	%r12, %rdx
	shrq	$3, %rdx
	movl	%edx, 32(%r15)
	movq	%rax, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_os_memcpy
	leaq	-176(%rbp), %r12
	movq	-216(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movl	$128, %edx
	callq	_x509_name_string
	movl	(%r13), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-184(%rbp), %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-184(%rbp), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r15, %rdx
	callq	_x509_parse_public_key
	testq	%rax, %rax
	jne	LBB0_17
## %bb.34:
	movq	-184(%rbp), %rdi
	cmpq	%r14, %rdi
	je	LBB0_36
## %bb.35:
	movq	(%r15), %rax
	movq	_X509_CERT_V1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
LBB0_36:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_37:
	movl	-192(%rbp), %r8d
LBB0_38:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_39:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_40:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_41:
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	testq	%rax, %rax
	js	LBB0_17
## %bb.42:
	movq	(%r15), %rdx
	jmp	LBB0_20
LBB0_43:
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movl	-188(%rbp), %edx
	testq	%rax, %rax
	js	LBB0_60
## %bb.44:
	movq	_ASN1_CLASS_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_60
## %bb.45:
	movl	-208(%rbp), %edx
	cmpl	$1, %edx
	jne	LBB0_50
## %bb.46:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movslq	-192(%rbp), %rdi
	shlq	$3, %rdi
	addq	-200(%rbp), %rdi
	movq	%rdi, -184(%rbp)
	cmpq	%r14, %rdi
	je	LBB0_17
## %bb.47:
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movl	-188(%rbp), %edx
	testq	%rax, %rax
	js	LBB0_61
## %bb.48:
	movq	_ASN1_CLASS_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_61
## %bb.49:
	movl	-208(%rbp), %edx
LBB0_50:
	cmpl	$2, %edx
	jne	LBB0_55
## %bb.51:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movslq	-192(%rbp), %rdi
	shlq	$3, %rdi
	addq	-200(%rbp), %rdi
	movq	%rdi, -184(%rbp)
	cmpq	%r14, %rdi
	je	LBB0_17
## %bb.52:
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$3, %rsi
	leaq	-208(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movl	-188(%rbp), %edx
	testq	%rax, %rax
	js	LBB0_61
## %bb.53:
	movq	_ASN1_CLASS_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_61
## %bb.54:
	movl	-208(%rbp), %edx
LBB0_55:
	cmpl	$3, %edx
	jne	LBB0_63
## %bb.56:
	movq	(%r15), %rdx
	movq	_X509_CERT_V3@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_64
## %bb.57:
	movq	-200(%rbp), %rsi
	movl	-192(%rbp), %edx
	movq	%r15, %rdi
	callq	_x509_parse_extensions
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_17
## %bb.58:
	movslq	-192(%rbp), %rdx
	shlq	$3, %rdx
	addq	-200(%rbp), %rdx
	movq	%rdx, -184(%rbp)
	cmpq	%r14, %rdx
	jae	LBB0_36
## %bb.59:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	%rdx, %r14
	shrq	$3, %r14
	leaq	L_.str.14(%rip), %rsi
	movl	%r14d, %ecx
	callq	_wpa_hexdump
	jmp	LBB0_36
LBB0_60:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_62
LBB0_61:
	movl	(%r12), %edi
LBB0_62:
	movl	-208(%rbp), %ecx
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_15
LBB0_63:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_17
LBB0_64:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incq	%rdx
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_13
LBB0_65:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,4,2       ## @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,4,2          ## @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X509: tbsCertificate did not start with a valid SEQUENCE - found class %d tag 0x%x"

	.comm	_ASN1_CLASS_CONTEXT_SPECIFIC,4,2 ## @ASN1_CLASS_CONTEXT_SPECIFIC
	.comm	_ASN1_TAG_INTEGER,4,2           ## @ASN1_TAG_INTEGER
L_.str.1:                               ## @.str.1
	.asciz	"X509: No INTEGER tag found for version field - found class %d tag 0x%x"

L_.str.2:                               ## @.str.2
	.asciz	"X509: Unexpected version field length %u (expected 1)"

	.comm	_X509_CERT_V1,8,3               ## @X509_CERT_V1
	.comm	_X509_CERT_V2,8,3               ## @X509_CERT_V2
	.comm	_X509_CERT_V3,8,3               ## @X509_CERT_V3
L_.str.3:                               ## @.str.3
	.asciz	"X509: Unsupported version %d"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.4:                               ## @.str.4
	.asciz	"X509: Version X.509v%d"

	.comm	_X509_MAX_SERIAL_NUM_LEN,4,2    ## @X509_MAX_SERIAL_NUM_LEN
L_.str.5:                               ## @.str.5
	.asciz	"X509: No INTEGER tag found for serialNumber; class=%d tag=0x%x length=%u"

L_.str.6:                               ## @.str.6
	.asciz	"X509: serialNumber"

L_.str.7:                               ## @.str.7
	.asciz	"X509: issuer %s"

L_.str.8:                               ## @.str.8
	.asciz	"X509: subject %s"

L_.str.9:                               ## @.str.9
	.asciz	"X509: Expected Context-Specific tag to parse optional tbsCertificate field(s); parsed class %d tag 0x%x"

L_.str.10:                              ## @.str.10
	.asciz	"X509: issuerUniqueID"

L_.str.11:                              ## @.str.11
	.asciz	"X509: subjectUniqueID"

L_.str.12:                              ## @.str.12
	.asciz	"X509: Ignored unexpected Context-Specific tag %d in optional tbsCertificate fields"

L_.str.13:                              ## @.str.13
	.asciz	"X509: X.509%d certificate and Extensions data which are only allowed for version 3"

L_.str.14:                              ## @.str.14
	.asciz	"X509: Ignored extra tbsCertificate data"

	.no_dead_strip	_x509_parse_tbs_certificate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_parse_tbs_certificate
_x509_parse_tbs_certificate:            ; @x509_parse_tbs_certificate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x20, x3
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	w8, [sp, #52]
	tbnz	x0, #63, LBB0_13
; %bb.1:
Lloh3:
	adrp	x21, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.2:
	ldr	w9, [sp, #32]
Lloh5:
	adrp	x10, _ASN1_TAG_SEQUENCE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ASN1_TAG_SEQUENCE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_13
; %bb.3:
	ldr	x0, [sp, #40]
	str	x0, [sp, #24]
	ldrsw	x1, [sp, #48]
	add	x22, x0, x1, lsl #3
	str	x22, [x20]
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	tbnz	x0, #63, LBB0_15
; %bb.4:
	ldr	x0, [sp, #40]
	str	x0, [sp, #24]
	ldr	w8, [sp, #52]
Lloh8:
	adrp	x23, _ASN1_CLASS_CONTEXT_SPECIFIC@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ASN1_CLASS_CONTEXT_SPECIFIC@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.5:
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	tbnz	x0, #63, LBB0_15
; %bb.6:
	ldr	w10, [x21]
	ldr	w8, [sp, #52]
	ldr	w9, [sp, #32]
	cmp	w8, w10
	b.ne	LBB0_38
; %bb.7:
Lloh10:
	adrp	x10, _ASN1_TAG_INTEGER@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ASN1_TAG_INTEGER@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_38
; %bb.8:
	ldr	w8, [sp, #48]
	cmp	w8, #1
	b.ne	LBB0_39
; %bb.9:
	ldr	x0, [sp, #40]
	ldr	x8, [x0], #8
	str	x0, [sp, #24]
	str	x8, [x19]
Lloh13:
	adrp	x9, _X509_CERT_V1@GOTPAGE
Lloh14:
	ldr	x9, [x9, _X509_CERT_V1@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_40
; %bb.10:
Lloh16:
	adrp	x9, _X509_CERT_V2@GOTPAGE
Lloh17:
	ldr	x9, [x9, _X509_CERT_V2@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_40
; %bb.11:
Lloh19:
	adrp	x9, _X509_CERT_V3@GOTPAGE
Lloh20:
	ldr	x9, [x9, _X509_CERT_V3@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_40
; %bb.12:
Lloh22:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x9]
	add	x8, x8, #1
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh27:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	ldr	w9, [sp, #32]
	stp	x8, x9, [sp]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
LBB0_14:
	bl	_wpa_printf
LBB0_15:
	mov	w0, #-1
LBB0_16:
	ldur	x8, [x29, #-72]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_64
; %bb.17:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_18:
Lloh35:
	adrp	x8, _X509_CERT_V1@GOTPAGE
Lloh36:
	ldr	x8, [x8, _X509_CERT_V1@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_19:
Lloh38:
	adrp	x24, _MSG_MSGDUMP@GOTPAGE
Lloh39:
	ldr	x24, [x24, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x8, x8, #1
	str	x8, [sp]
Lloh40:
	adrp	x1, l_.str.4@PAGE
Lloh41:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	w10, [x21]
	ldr	w8, [sp, #52]
	ldr	w9, [sp, #32]
	cmp	w8, w10
	b.ne	LBB0_36
; %bb.20:
Lloh42:
	adrp	x10, _ASN1_TAG_INTEGER@GOTPAGE
Lloh43:
	ldr	x10, [x10, _ASN1_TAG_INTEGER@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	ldr	w2, [sp, #48]
	cmp	w9, w10
	b.ne	LBB0_37
; %bb.21:
	cmp	w2, #1
	b.lt	LBB0_37
; %bb.22:
Lloh45:
	adrp	x10, _X509_MAX_SERIAL_NUM_LEN@GOTPAGE
Lloh46:
	ldr	x10, [x10, _X509_MAX_SERIAL_NUM_LEN@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	cmp	w2, w10
	b.gt	LBB0_37
; %bb.23:
	ldr	x1, [sp, #40]
	add	x20, x1, x2, lsl #3
	str	x20, [sp, #24]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x1]
	cbnz	x8, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x1, x1, #8
	str	x1, [sp, #40]
	subs	w2, w2, #1
	str	w2, [sp, #48]
	b.gt	LBB0_24
; %bb.26:
	mov	w2, #0
LBB0_27:
	ldr	x0, [x19, #8]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_os_memcpy
	ldr	w3, [sp, #48]
	str	w3, [x19, #16]
	ldr	w0, [x24]
	ldr	x2, [x19, #8]
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_hexdump
	sub	x8, x22, x20
	lsr	x1, x8, #3
	add	x2, x19, #44
	add	x3, sp, #24
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_x509_parse_algorithm_identifier
	cbnz	x0, LBB0_15
; %bb.28:
	ldr	x0, [sp, #24]
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x20, x19, #40
	add	x3, sp, #24
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_x509_parse_name
	cbnz	x0, LBB0_15
; %bb.29:
	add	x21, sp, #56
	add	x1, sp, #56
	mov	x0, x20
	mov	w2, #128
	bl	_x509_name_string
	ldr	w0, [x24]
	str	x21, [sp]
Lloh50:
	adrp	x1, l_.str.7@PAGE
Lloh51:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [sp, #24]
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x3, sp, #24
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_x509_parse_validity
	cbnz	x0, LBB0_15
; %bb.30:
	ldr	x21, [sp, #24]
	sub	x8, x22, x21
	lsr	x1, x8, #3
	add	x20, x19, #36
	add	x3, sp, #24
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_x509_parse_name
	cbnz	x0, LBB0_15
; %bb.31:
	ldr	x8, [sp, #24]
	sub	x8, x8, x21
	lsr	x0, x8, #3
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_os_malloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_15
; %bb.32:
	ldr	x8, [sp, #24]
	sub	x8, x8, x21
	lsr	x2, x8, #3
	str	w2, [x19, #32]
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_os_memcpy
	add	x21, sp, #56
	add	x1, sp, #56
	mov	x0, x20
	mov	w2, #128
	bl	_x509_name_string
	ldr	w0, [x24]
	str	x21, [sp]
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [sp, #24]
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x3, sp, #24
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_x509_parse_public_key
	cbnz	x0, LBB0_15
; %bb.33:
	ldr	x0, [sp, #24]
	cmp	x0, x22
	b.eq	LBB0_35
; %bb.34:
	ldr	x8, [x19]
Lloh54:
	adrp	x9, _X509_CERT_V1@GOTPAGE
Lloh55:
	ldr	x9, [x9, _X509_CERT_V1@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_42
LBB0_35:
	mov	w0, #0
	b	LBB0_16
LBB0_36:
	ldr	w2, [sp, #48]
LBB0_37:
Lloh57:
	adrp	x10, _MSG_DEBUG@GOTPAGE
Lloh58:
	ldr	x10, [x10, _MSG_DEBUG@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x10]
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	stp	x9, x2, [sp, #8]
	str	x8, [sp]
Lloh60:
	adrp	x1, l_.str.5@PAGE
Lloh61:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_38:
Lloh62:
	adrp	x10, _MSG_DEBUG@GOTPAGE
Lloh63:
	ldr	x10, [x10, _MSG_DEBUG@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x10]
	stp	x8, x9, [sp]
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_39:
Lloh67:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh68:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh70:
	adrp	x1, l_.str.2@PAGE
Lloh71:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_40:
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	tbnz	x0, #63, LBB0_15
; %bb.41:
	ldr	x8, [x19]
	b	LBB0_19
LBB0_42:
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	w8, [sp, #52]
	tbnz	x0, #63, LBB0_59
; %bb.43:
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_59
; %bb.44:
	ldr	w8, [sp, #32]
	cmp	w8, #1
	b.ne	LBB0_49
; %bb.45:
Lloh72:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh73:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh74:
	adrp	x1, l_.str.10@PAGE
Lloh75:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [sp, #40]
	ldrsw	x9, [sp, #48]
	add	x0, x8, x9, lsl #3
	str	x0, [sp, #24]
	cmp	x0, x22
	b.eq	LBB0_35
; %bb.46:
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	w8, [sp, #52]
	tbnz	x0, #63, LBB0_60
; %bb.47:
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_60
; %bb.48:
	ldr	w8, [sp, #32]
LBB0_49:
	cmp	w8, #2
	b.ne	LBB0_54
; %bb.50:
Lloh76:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh77:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh78:
	adrp	x1, l_.str.11@PAGE
Lloh79:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [sp, #40]
	ldrsw	x9, [sp, #48]
	add	x0, x8, x9, lsl #3
	str	x0, [sp, #24]
	cmp	x0, x22
	b.eq	LBB0_35
; %bb.51:
	sub	x8, x22, x0
	lsr	x1, x8, #3
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	w8, [sp, #52]
	tbnz	x0, #63, LBB0_60
; %bb.52:
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_60
; %bb.53:
	ldr	w8, [sp, #32]
LBB0_54:
	cmp	w8, #3
	b.ne	LBB0_62
; %bb.55:
	ldr	x8, [x19]
Lloh80:
	adrp	x9, _X509_CERT_V3@GOTPAGE
Lloh81:
	ldr	x9, [x9, _X509_CERT_V3@GOTPAGEOFF]
Lloh82:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_63
; %bb.56:
	ldr	x1, [sp, #40]
	ldr	w2, [sp, #48]
	mov	x0, x19
	bl	_x509_parse_extensions
	tbnz	x0, #63, LBB0_15
; %bb.57:
	ldr	x8, [sp, #40]
	ldrsw	x9, [sp, #48]
	add	x2, x8, x9, lsl #3
	str	x2, [sp, #24]
	cmp	x2, x22
	b.hs	LBB0_35
; %bb.58:
Lloh83:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh84:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	sub	x8, x22, x2
	lsr	x3, x8, #3
Lloh86:
	adrp	x1, l_.str.14@PAGE
Lloh87:
	add	x1, x1, l_.str.14@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump
	b	LBB0_35
LBB0_59:
Lloh88:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh89:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x9]
	b	LBB0_61
LBB0_60:
	ldr	w0, [x20]
LBB0_61:
	ldr	w9, [sp, #32]
	stp	x8, x9, [sp]
Lloh91:
	adrp	x1, l_.str.9@PAGE
Lloh92:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_14
LBB0_62:
Lloh93:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh94:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh96:
	adrp	x1, l_.str.12@PAGE
Lloh97:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	b	LBB0_35
LBB0_63:
Lloh98:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh99:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh100:
	ldr	w0, [x9]
	add	x8, x8, #1
	str	x8, [sp]
Lloh101:
	adrp	x1, l_.str.13@PAGE
Lloh102:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_14
LBB0_64:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,4,2       ; @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,4,2          ; @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X509: tbsCertificate did not start with a valid SEQUENCE - found class %d tag 0x%x"

	.comm	_ASN1_CLASS_CONTEXT_SPECIFIC,4,2 ; @ASN1_CLASS_CONTEXT_SPECIFIC
	.comm	_ASN1_TAG_INTEGER,4,2           ; @ASN1_TAG_INTEGER
l_.str.1:                               ; @.str.1
	.asciz	"X509: No INTEGER tag found for version field - found class %d tag 0x%x"

l_.str.2:                               ; @.str.2
	.asciz	"X509: Unexpected version field length %u (expected 1)"

	.comm	_X509_CERT_V1,8,3               ; @X509_CERT_V1
	.comm	_X509_CERT_V2,8,3               ; @X509_CERT_V2
	.comm	_X509_CERT_V3,8,3               ; @X509_CERT_V3
l_.str.3:                               ; @.str.3
	.asciz	"X509: Unsupported version %d"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.4:                               ; @.str.4
	.asciz	"X509: Version X.509v%d"

	.comm	_X509_MAX_SERIAL_NUM_LEN,4,2    ; @X509_MAX_SERIAL_NUM_LEN
l_.str.5:                               ; @.str.5
	.asciz	"X509: No INTEGER tag found for serialNumber; class=%d tag=0x%x length=%u"

l_.str.6:                               ; @.str.6
	.asciz	"X509: serialNumber"

l_.str.7:                               ; @.str.7
	.asciz	"X509: issuer %s"

l_.str.8:                               ; @.str.8
	.asciz	"X509: subject %s"

l_.str.9:                               ; @.str.9
	.asciz	"X509: Expected Context-Specific tag to parse optional tbsCertificate field(s); parsed class %d tag 0x%x"

l_.str.10:                              ; @.str.10
	.asciz	"X509: issuerUniqueID"

l_.str.11:                              ; @.str.11
	.asciz	"X509: subjectUniqueID"

l_.str.12:                              ; @.str.12
	.asciz	"X509: Ignored unexpected Context-Specific tag %d in optional tbsCertificate fields"

l_.str.13:                              ; @.str.13
	.asciz	"X509: X.509%d certificate and Extensions data which are only allowed for version 3"

l_.str.14:                              ; @.str.14
	.asciz	"X509: Ignored extra tbsCertificate data"

	.no_dead_strip	_x509_parse_tbs_certificate
.subsections_via_symbols
