	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_parse_name                ## -- Begin function x509_parse_name
	.p2align	4, 0x90
_x509_parse_name:                       ## @x509_parse_name
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-72(%rbp), %rdx
	callq	_asn1_get_next
	movq	-72(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_54
## %bb.1:
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_54
## %bb.2:
	movq	-64(%rbp), %rax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_54
## %bb.3:
	movq	-48(%rbp), %rdi
	movslq	-56(%rbp), %rdx
	leaq	(%rbx,%r15,4), %rcx
	subq	%rdi, %rcx
	sarq	$2, %rcx
	movl	$-1, %eax
	cmpq	%rdx, %rcx
	jl	LBB0_56
## %bb.4:
	leaq	(%rdi,%rdx,4), %rbx
	movq	%rbx, (%r12)
	testl	%edx, %edx
	jle	LBB0_57
## %bb.5:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	-72(%rbp), %rdx
	callq	_asn1_get_next
	movq	-72(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_58
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_58
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax
	movq	_ASN1_TAG_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_58
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %r12
	movslq	-56(%rbp), %r13
	movq	%r12, %rdi
	movl	%r13d, %esi
	leaq	-72(%rbp), %rdx
	callq	_asn1_get_next
	movq	-72(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_59
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_59
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_59
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %r15
	movq	-48(%rbp), %rbx
	movq	%rbx, -88(%rbp)
	movl	-56(%rbp), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	leaq	-104(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	callq	_asn1_get_oid
	testq	%rax, %rax
	jne	LBB0_62
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r14d, %rax
	leaq	(%rbx,%rax,4), %rsi
	movq	-88(%rbp), %rdi
	subq	%rdi, %rsi
	shrq	$2, %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	-72(%rbp), %rdx
	callq	_asn1_get_next
	testq	%rax, %rax
	js	LBB0_61
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rax
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_61
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_NOT_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-104(%rbp), %ecx
	cmpl	$4, %ecx
	movq	%r15, %r14
	je	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$7, %ecx
	jne	LBB0_33
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rdx
	movl	(%rdx), %esi
	testl	%esi, %esi
	je	LBB0_36
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, %esi
	jne	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$2, 4(%rdx)
	jne	LBB0_34
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$840, 8(%rdx)                   ## imm = 0x348
	jne	LBB0_34
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$113549, 12(%rdx)               ## imm = 0x1BB8D
	jne	LBB0_34
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, 16(%rdx)
	jne	LBB0_34
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$9, 20(%rdx)
	jne	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, 24(%rdx)
	jne	LBB0_34
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rdi
	callq	_os_free
	movl	-56(%rbp), %edi
	incl	%edi
	callq	_os_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_64
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rsi
	movl	-56(%rbp), %edx
	movq	%rax, %rdi
	callq	_os_memcpy
	movq	(%r14), %rax
	movslq	-56(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	jmp	LBB0_35
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rdx
	cmpl	$2, (%rdx)
	jne	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$5, 4(%rdx)
	jne	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$4, 8(%rdx)
	jne	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%rdx), %esi
	addl	$-3, %esi
	cmpl	$8, %esi
	ja	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_CN@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rdx
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %ecx
	leaq	L_.str.4(%rip), %rsi
	callq	_wpa_hexdump
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	movslq	-56(%rbp), %rcx
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_hexdump_ascii
LBB0_35:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r12,%r13,4), %rdi
	cmpq	%rbx, %rdi
	jb	LBB0_6
	jmp	LBB0_57
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$9, 4(%rdx)
	jne	LBB0_34
## %bb.37:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$2342, 8(%rdx)                  ## imm = 0x926
	jne	LBB0_34
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$19200300, 12(%rdx)             ## imm = 0x124F92C
	jne	LBB0_34
## %bb.39:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$100, 16(%rdx)
	jne	LBB0_34
## %bb.40:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, 20(%rdx)
	jne	LBB0_34
## %bb.41:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$25, 24(%rdx)
	movl	%eax, %r15d
	jne	LBB0_49
## %bb.42:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_DC@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_43:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_C@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_44:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_L@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_45:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_ST@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_46:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_O@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_47:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_X509_NAME_ATTR_OU@GOTPCREL(%rip), %rsi
LBB0_48:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rsi), %r15d
LBB0_49:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%eax, %r15d
	je	LBB0_34
## %bb.50:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	movq	_X509_MAX_NAME_ATTRIBUTES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_65
## %bb.51:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	movslq	-56(%rbp), %rsi
	callq	_dup_binstr
	testq	%rax, %rax
	je	LBB0_64
## %bb.52:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_os_strlen
	movslq	-56(%rbp), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_66
## %bb.53:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movq	%rax, %rdx
	shlq	$4, %rdx
	movl	%r15d, (%rcx,%rdx)
	movq	%rbx, 8(%rcx,%rdx)
	incq	%rax
	movq	%rax, 8(%r14)
	jmp	LBB0_35
LBB0_54:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_55:
	movl	$-1, %eax
LBB0_56:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	xorl	%eax, %eax
	jmp	LBB0_56
LBB0_58:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_60
LBB0_59:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rcx
	leaq	L_.str.2(%rip), %rsi
LBB0_60:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	jmp	LBB0_63
LBB0_61:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_62:
	movq	%r15, %rdi
LBB0_63:
	callq	_x509_free_name
	jmp	LBB0_55
LBB0_64:
	movq	%r14, %rdi
	jmp	LBB0_63
LBB0_65:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	jmp	LBB0_63
LBB0_66:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_free
	movq	%r14, %rdi
	jmp	LBB0_63
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
LJTI0_0:
	.long	L0_0_set_32
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_43
	.long	L0_0_set_44
	.long	L0_0_set_45
	.long	L0_0_set_34
	.long	L0_0_set_46
	.long	L0_0_set_47
	.end_data_region
                                        ## -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ## @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,8,3          ## @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X509: Expected SEQUENCE (Name / RDNSequencer) - found class %d tag 0x%x"

	.comm	_ASN1_TAG_SET,8,3               ## @ASN1_TAG_SET
L_.str.1:                               ## @.str.1
	.asciz	"X509: Expected SET (RelativeDistinguishedName) - found class %d tag 0x%x"

L_.str.2:                               ## @.str.2
	.asciz	"X509: Expected SEQUENCE (AttributeTypeAndValue) - found class %d tag 0x%x"

L_.str.3:                               ## @.str.3
	.asciz	"X509: Failed to parse AttributeValue"

	.comm	_X509_NAME_ATTR_NOT_USED,4,2    ## @X509_NAME_ATTR_NOT_USED
	.comm	_X509_NAME_ATTR_CN,4,2          ## @X509_NAME_ATTR_CN
	.comm	_X509_NAME_ATTR_C,4,2           ## @X509_NAME_ATTR_C
	.comm	_X509_NAME_ATTR_L,4,2           ## @X509_NAME_ATTR_L
	.comm	_X509_NAME_ATTR_ST,4,2          ## @X509_NAME_ATTR_ST
	.comm	_X509_NAME_ATTR_O,4,2           ## @X509_NAME_ATTR_O
	.comm	_X509_NAME_ATTR_OU,4,2          ## @X509_NAME_ATTR_OU
	.comm	_X509_NAME_ATTR_DC,4,2          ## @X509_NAME_ATTR_DC
L_.str.4:                               ## @.str.4
	.asciz	"X509: Unrecognized OID"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.5:                               ## @.str.5
	.asciz	"X509: Attribute Data"

	.comm	_X509_MAX_NAME_ATTRIBUTES,8,3   ## @X509_MAX_NAME_ATTRIBUTES
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.6:                               ## @.str.6
	.asciz	"X509: Too many Name attributes"

L_.str.7:                               ## @.str.7
	.asciz	"X509: Reject certificate with embedded NUL byte in a string (%s[NUL])"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_parse_name                ; -- Begin function x509_parse_name
	.p2align	2
_x509_parse_name:                       ; @x509_parse_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	add	x2, sp, #48
	bl	_asn1_get_next
	ldr	x8, [sp, #48]
	tbnz	x0, #63, LBB0_53
; %bb.1:
Lloh0:
	adrp	x26, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_53
; %bb.2:
	ldr	x9, [sp, #56]
Lloh2:
	adrp	x27, _ASN1_TAG_SEQUENCE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ASN1_TAG_SEQUENCE@GOTPAGEOFF]
	ldr	x10, [x27]
	cmp	x9, x10
	b.ne	LBB0_53
; %bb.3:
	ldr	x0, [sp, #72]
	ldrsw	x8, [sp, #64]
	add	x9, x22, x21, lsl #2
	sub	x9, x9, x0
	cmp	x8, x9, asr #2
	b.gt	LBB0_54
; %bb.4:
	add	x28, x0, x8, lsl #2
	str	x28, [x20]
	cmp	w8, #1
	b.lt	LBB0_56
; %bb.5:
Lloh4:
	adrp	x20, _ASN1_TAG_SET@GOTPAGE
Lloh5:
	ldr	x20, [x20, _ASN1_TAG_SET@GOTPAGEOFF]
Lloh6:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x28, x0
	lsr	x1, x8, #2
	add	x2, sp, #48
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	x8, [sp, #48]
	tbnz	x0, #63, LBB0_57
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_57
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [sp, #56]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_57
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [sp, #72]
	ldrsw	x23, [sp, #64]
	add	x2, sp, #48
	mov	x0, x22
	mov	x1, x23
	bl	_asn1_get_next
	ldr	x8, [sp, #48]
	tbnz	x0, #63, LBB0_58
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_58
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [sp, #56]
	ldr	x10, [x27]
	cmp	x9, x10
	b.ne	LBB0_58
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x24, [sp, #72]
	str	x24, [sp, #40]
	ldr	w25, [sp, #64]
	add	x2, sp, #24
	add	x3, sp, #40
	mov	x0, x24
	mov	x1, x25
	bl	_asn1_get_oid
	cbnz	x0, LBB0_61
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x8, w25
	add	x8, x24, x8, lsl #2
	ldr	x0, [sp, #40]
	sub	x8, x8, x0
	lsr	x1, x8, #2
	add	x2, sp, #48
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	tbnz	x0, #63, LBB0_59
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #48]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_59
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh8:
	adrp	x8, _X509_NAME_ATTR_NOT_USED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _X509_NAME_ATTR_NOT_USED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
	ldr	w8, [sp, #24]
	cmp	w8, #4
	b.eq	LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #7
	b.ne	LBB0_33
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [sp, #32]
	ldr	w10, [x2]
	cbz	w10, LBB0_36
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w10, #1
	b.ne	LBB0_34
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x2, #4]
	cmp	w9, #2
	b.ne	LBB0_34
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x2, #8]
	cmp	w9, #840
	b.ne	LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x2, #12]
	mov	w10, #48013
	movk	w10, #1, lsl #16
	cmp	w9, w10
	b.ne	LBB0_34
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x2, #16]
	cmp	w9, #1
	b.ne	LBB0_34
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x2, #20]
	cmp	w9, #9
	b.ne	LBB0_34
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x2, #24]
	cmp	w9, #1
	b.ne	LBB0_34
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	bl	_os_free
	ldr	w8, [sp, #64]
	add	w0, w8, #1
	bl	_os_malloc
	str	x0, [x19]
	cbz	x0, LBB0_61
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [sp, #72]
	ldr	w2, [sp, #64]
	bl	_os_memcpy
	ldr	x8, [x19]
	ldrsw	x9, [sp, #64]
	strb	wzr, [x8, x9]
	b	LBB0_35
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [sp, #32]
	ldr	w10, [x2]
	cmp	w10, #2
	b.ne	LBB0_34
; %bb.28:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #4]
	cmp	w10, #5
	b.ne	LBB0_34
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #8]
	cmp	w10, #4
	b.ne	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #12]
	sub	w10, w10, #3
	cmp	w10, #8
	b.hi	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh11:
	adrp	x13, lJTI0_0@PAGE
Lloh12:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x11, LBB0_32
	ldrb	w12, [x13, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x10, _X509_NAME_ATTR_CN@GOTPAGE
Lloh14:
	ldr	x10, [x10, _X509_NAME_ATTR_CN@GOTPAGEOFF]
	b	LBB0_47
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [sp, #32]
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	lsl	w3, w8, #2
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_hexdump
Lloh17:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x2, [sp, #72]
	ldrsw	x3, [sp, #64]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump_ascii
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
	add	x0, x22, x23, lsl #2
	cmp	x0, x28
	b.lo	LBB0_6
	b	LBB0_55
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #4]
	cmp	w10, #9
	b.ne	LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #8]
	cmp	w10, #2342
	b.ne	LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #12]
	mov	w11, #63788
	movk	w11, #292, lsl #16
	cmp	w10, w11
	b.ne	LBB0_34
; %bb.39:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #16]
	cmp	w10, #100
	b.ne	LBB0_34
; %bb.40:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #20]
	cmp	w10, #1
	b.ne	LBB0_34
; %bb.41:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x2, #24]
Lloh22:
	adrp	x11, _X509_NAME_ATTR_DC@GOTPAGE
Lloh23:
	ldr	x11, [x11, _X509_NAME_ATTR_DC@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	cmp	w10, #25
	csel	w25, w11, w9, eq
	b	LBB0_48
LBB0_42:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh25:
	adrp	x10, _X509_NAME_ATTR_C@GOTPAGE
Lloh26:
	ldr	x10, [x10, _X509_NAME_ATTR_C@GOTPAGEOFF]
	b	LBB0_47
LBB0_43:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh27:
	adrp	x10, _X509_NAME_ATTR_L@GOTPAGE
Lloh28:
	ldr	x10, [x10, _X509_NAME_ATTR_L@GOTPAGEOFF]
	b	LBB0_47
LBB0_44:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh29:
	adrp	x10, _X509_NAME_ATTR_ST@GOTPAGE
Lloh30:
	ldr	x10, [x10, _X509_NAME_ATTR_ST@GOTPAGEOFF]
	b	LBB0_47
LBB0_45:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh31:
	adrp	x10, _X509_NAME_ATTR_O@GOTPAGE
Lloh32:
	ldr	x10, [x10, _X509_NAME_ATTR_O@GOTPAGEOFF]
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh33:
	adrp	x10, _X509_NAME_ATTR_OU@GOTPAGE
Lloh34:
	ldr	x10, [x10, _X509_NAME_ATTR_OU@GOTPAGEOFF]
LBB0_47:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w25, [x10]
LBB0_48:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, w9
	b.eq	LBB0_34
; %bb.49:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
Lloh35:
	adrp	x9, _X509_MAX_NAME_ATTRIBUTES@GOTPAGE
Lloh36:
	ldr	x9, [x9, _X509_MAX_NAME_ATTRIBUTES@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_62
; %bb.50:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #72]
	ldrsw	x1, [sp, #64]
	bl	_dup_binstr
	cbz	x0, LBB0_61
; %bb.51:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x0
	bl	_os_strlen
	ldrsw	x8, [sp, #64]
	cmp	x0, x8
	b.ne	LBB0_63
; %bb.52:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	x9, x8, [x19, #8]
	add	x8, x8, x9, lsl #4
	str	w25, [x8]
	str	x24, [x8, #8]
	add	x8, x9, #1
	str	x8, [x19, #8]
	b	LBB0_35
LBB0_53:
Lloh38:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x9]
	ldr	x9, [sp, #56]
	stp	x8, x9, [sp]
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_54:
	mov	w8, #-1
LBB0_55:
	mov	x0, x8
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_56:
	mov	w8, #0
	b	LBB0_55
LBB0_57:
	ldr	w0, [x21]
	ldr	x9, [sp, #56]
	stp	x8, x9, [sp]
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_60
LBB0_58:
	ldr	w0, [x21]
	ldr	x9, [sp, #56]
	stp	x8, x9, [sp]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_60
LBB0_59:
	ldr	w0, [x21]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_60:
	bl	_wpa_printf
LBB0_61:
	mov	x0, x19
	bl	_x509_free_name
	b	LBB0_54
LBB0_62:
Lloh49:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_60
LBB0_63:
Lloh54:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	str	x24, [sp]
Lloh57:
	adrp	x1, l_.str.7@PAGE
Lloh58:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	mov	x0, x24
	bl	_os_free
	b	LBB0_61
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_32-LBB0_32)>>2
	.byte	(LBB0_34-LBB0_32)>>2
	.byte	(LBB0_34-LBB0_32)>>2
	.byte	(LBB0_42-LBB0_32)>>2
	.byte	(LBB0_43-LBB0_32)>>2
	.byte	(LBB0_44-LBB0_32)>>2
	.byte	(LBB0_34-LBB0_32)>>2
	.byte	(LBB0_45-LBB0_32)>>2
	.byte	(LBB0_46-LBB0_32)>>2
                                        ; -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ; @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,8,3          ; @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X509: Expected SEQUENCE (Name / RDNSequencer) - found class %d tag 0x%x"

	.comm	_ASN1_TAG_SET,8,3               ; @ASN1_TAG_SET
l_.str.1:                               ; @.str.1
	.asciz	"X509: Expected SET (RelativeDistinguishedName) - found class %d tag 0x%x"

l_.str.2:                               ; @.str.2
	.asciz	"X509: Expected SEQUENCE (AttributeTypeAndValue) - found class %d tag 0x%x"

l_.str.3:                               ; @.str.3
	.asciz	"X509: Failed to parse AttributeValue"

	.comm	_X509_NAME_ATTR_NOT_USED,4,2    ; @X509_NAME_ATTR_NOT_USED
	.comm	_X509_NAME_ATTR_CN,4,2          ; @X509_NAME_ATTR_CN
	.comm	_X509_NAME_ATTR_C,4,2           ; @X509_NAME_ATTR_C
	.comm	_X509_NAME_ATTR_L,4,2           ; @X509_NAME_ATTR_L
	.comm	_X509_NAME_ATTR_ST,4,2          ; @X509_NAME_ATTR_ST
	.comm	_X509_NAME_ATTR_O,4,2           ; @X509_NAME_ATTR_O
	.comm	_X509_NAME_ATTR_OU,4,2          ; @X509_NAME_ATTR_OU
	.comm	_X509_NAME_ATTR_DC,4,2          ; @X509_NAME_ATTR_DC
l_.str.4:                               ; @.str.4
	.asciz	"X509: Unrecognized OID"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.5:                               ; @.str.5
	.asciz	"X509: Attribute Data"

	.comm	_X509_MAX_NAME_ATTRIBUTES,8,3   ; @X509_MAX_NAME_ATTRIBUTES
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.6:                               ; @.str.6
	.asciz	"X509: Too many Name attributes"

l_.str.7:                               ; @.str.7
	.asciz	"X509: Reject certificate with embedded NUL byte in a string (%s[NUL])"

.subsections_via_symbols
