	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_parse_extension
_x509_parse_extension:                  ## @x509_parse_extension
	.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	$136, %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	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-160(%rbp), %rax
	movq	%rsi, %rdi
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_asn1_get_next
	movq	-160(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdx
	jne	LBB0_3
## %bb.2:
	movq	-152(%rbp), %rax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movq	-144(%rbp), %rdi
	movq	%rdi, -176(%rbp)
	movslq	-136(%rbp), %rsi
	leaq	(%rdi,%rsi,4), %r12
	movq	%r12, (%rbx)
	leaq	-168(%rbp), %rdx
	leaq	-176(%rbp), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_oid
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	-176(%rbp), %rdi
	movq	%r12, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
	leaq	-160(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movq	-160(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_11
## %bb.8:
	cmpq	(%r13), %rdx
	jne	LBB0_11
## %bb.9:
	movq	-152(%rbp), %rax
	movq	_ASN1_TAG_BOOLEAN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ASN1_TAG_OCTETSTRING@GOTPCREL(%rip), %rbx
	cmpq	%rcx, %rax
	je	LBB0_12
## %bb.10:
	cmpq	(%rbx), %rax
	je	LBB0_12
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-152(%rbp), %rcx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-152(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_23:
	movl	$-1, %ebx
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_23
LBB0_12:
	xorl	%r14d, %r14d
	cmpq	%rcx, %rax
	jne	LBB0_18
## %bb.13:
	movq	-144(%rbp), %rdi
	movl	(%rdi), %r14d
	movq	%rdi, -176(%rbp)
	subq	%rdi, %r12
	shrq	$2, %r12
	leaq	-160(%rbp), %rdx
	movl	%r12d, %esi
	callq	_asn1_get_next
	movq	-160(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_17
## %bb.14:
	cmpq	(%r13), %rdx
	je	LBB0_16
## %bb.15:
	movq	_ASN1_CLASS_PRIVATE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_17
LBB0_16:
	movq	-152(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_17
LBB0_18:
	leaq	-168(%rbp), %r12
	leaq	-128(%rbp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$80, %edx
	callq	_asn1_oid_to_str
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-144(%rbp), %rdx
	movl	-136(%rbp), %ecx
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_hexdump
	movq	-144(%rbp), %rdx
	movl	-136(%rbp), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_x509_parse_extension_data
	testl	%eax, %eax
	js	LBB0_19
## %bb.20:
	cmpl	$1, %eax
	jne	LBB0_24
## %bb.21:
	testl	%r14d, %r14d
	je	LBB0_24
## %bb.22:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	leaq	-128(%rbp), %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_23
LBB0_17:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-152(%rbp), %rcx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_19:
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- 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: Unexpected ASN.1 header in Extensions: class %d tag 0x%x; expected SEQUENCE"

L_.str.1:                               ## @.str.1
	.asciz	"X509: Unexpected ASN.1 data for Extension (expected OID)"

	.comm	_ASN1_TAG_BOOLEAN,8,3           ## @ASN1_TAG_BOOLEAN
	.comm	_ASN1_TAG_OCTETSTRING,8,3       ## @ASN1_TAG_OCTETSTRING
L_.str.2:                               ## @.str.2
	.asciz	"X509: Unexpected ASN.1 header in Extensions: class %d tag 0x%x; expected BOOLEAN or OCTET STRING"

	.comm	_ASN1_CLASS_PRIVATE,8,3         ## @ASN1_CLASS_PRIVATE
L_.str.3:                               ## @.str.3
	.asciz	"X509: Unexpected ASN.1 header in Extensions: class %d tag 0x%x; expected OCTET STRING"

L_.str.4:                               ## @.str.4
	.asciz	"X509: Extension: extnID=%s critical=%d"

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

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.6:                               ## @.str.6
	.asciz	"X509: Unknown critical extension %s"

	.no_dead_strip	_x509_parse_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_parse_extension
_x509_parse_extension:                  ; @x509_parse_extension
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x20, x3
	mov	x8, x2
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
	add	x2, sp, #32
	mov	x0, x1
	mov	x1, x8
	bl	_asn1_get_next
	ldr	x8, [sp, #32]
	tbnz	x0, #63, LBB0_13
; %bb.1:
Lloh3:
	adrp	x21, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.2:
	ldr	x9, [sp, #40]
Lloh5:
	adrp	x10, _ASN1_TAG_SEQUENCE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ASN1_TAG_SEQUENCE@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.3:
	ldr	x0, [sp, #48]
	str	x0, [sp, #64]
	ldrsw	x1, [sp, #56]
	add	x22, x0, x1, lsl #2
	str	x22, [x20]
	add	x2, sp, #24
	add	x3, sp, #64
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_oid
	tbnz	x0, #63, LBB0_18
; %bb.4:
	ldr	x0, [sp, #64]
	sub	x8, x22, x0
	lsr	x1, x8, #2
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	x8, [sp, #32]
	tbnz	x0, #63, LBB0_17
; %bb.5:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.6:
	ldr	x9, [sp, #40]
Lloh8:
	adrp	x10, _ASN1_TAG_BOOLEAN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ASN1_TAG_BOOLEAN@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x23, _ASN1_TAG_OCTETSTRING@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ASN1_TAG_OCTETSTRING@GOTPAGEOFF]
	ldr	x11, [x23]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_17
; %bb.7:
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.8:
	ldr	x0, [sp, #48]
	ldr	w20, [x0]
	str	x0, [sp, #64]
	sub	x8, x22, x0
	lsr	x1, x8, #2
	add	x2, sp, #32
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	ldr	x8, [sp, #32]
	tbnz	x0, #63, LBB0_12
; %bb.9:
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
Lloh13:
	adrp	x9, _ASN1_CLASS_PRIVATE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ASN1_CLASS_PRIVATE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_11:
	ldr	x9, [sp, #40]
	ldr	x10, [x23]
	cmp	x9, x10
	b.eq	LBB0_20
LBB0_12:
Lloh16:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	ldr	x9, [sp, #40]
	stp	x8, x9, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh21:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x9]
	ldr	x9, [sp, #40]
	stp	x8, x9, [sp]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
LBB0_14:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_15:
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.16:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_17:
Lloh29:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x9]
	ldr	x9, [sp, #40]
	stp	x8, x9, [sp]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_18:
Lloh34:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_19:
	mov	w20, #0
LBB0_20:
	add	x21, sp, #72
	add	x0, sp, #24
	add	x1, sp, #72
	mov	w2, #80
	bl	_asn1_oid_to_str
Lloh39:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	stp	x21, x20, [sp]
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh44:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	x2, [sp, #48]
	ldr	w3, [sp, #56]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump
	ldr	x2, [sp, #48]
	ldr	w3, [sp, #56]
	add	x1, sp, #24
	mov	x0, x19
	bl	_x509_parse_extension_data
	mov	x8, x0
	tbnz	w0, #31, LBB0_24
; %bb.21:
	mov	w0, #0
	cmp	w8, #1
	b.ne	LBB0_15
; %bb.22:
	cbz	w20, LBB0_15
; %bb.23:
Lloh49:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	add	x8, sp, #72
	str	x8, [sp]
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_24:
	mov	x0, x8
	b	LBB0_15
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- 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: Unexpected ASN.1 header in Extensions: class %d tag 0x%x; expected SEQUENCE"

l_.str.1:                               ; @.str.1
	.asciz	"X509: Unexpected ASN.1 data for Extension (expected OID)"

	.comm	_ASN1_TAG_BOOLEAN,8,3           ; @ASN1_TAG_BOOLEAN
	.comm	_ASN1_TAG_OCTETSTRING,8,3       ; @ASN1_TAG_OCTETSTRING
l_.str.2:                               ; @.str.2
	.asciz	"X509: Unexpected ASN.1 header in Extensions: class %d tag 0x%x; expected BOOLEAN or OCTET STRING"

	.comm	_ASN1_CLASS_PRIVATE,8,3         ; @ASN1_CLASS_PRIVATE
l_.str.3:                               ; @.str.3
	.asciz	"X509: Unexpected ASN.1 header in Extensions: class %d tag 0x%x; expected OCTET STRING"

l_.str.4:                               ; @.str.4
	.asciz	"X509: Extension: extnID=%s critical=%d"

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

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.6:                               ; @.str.6
	.asciz	"X509: Unknown critical extension %s"

	.no_dead_strip	_x509_parse_extension
.subsections_via_symbols
