	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_parse_ext_subject_alt_name
_x509_parse_ext_subject_alt_name:       ## @x509_parse_ext_subject_alt_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-48(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_asn1_get_next
	movq	-48(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_X509_EXT_SUBJECT_ALT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	movq	-32(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movl	-24(%rbp), %esi
	movq	%r14, %rdi
	callq	_x509_parse_ext_alt_name
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.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: Expected SEQUENCE in SubjectAltName; found %d tag 0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"X509: SubjectAltName"

	.comm	_X509_EXT_SUBJECT_ALT_NAME,4,2  ## @X509_EXT_SUBJECT_ALT_NAME
	.no_dead_strip	_x509_parse_ext_subject_alt_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_parse_ext_subject_alt_name
_x509_parse_ext_subject_alt_name:       ; @x509_parse_ext_subject_alt_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x8, x2
	mov	x19, x0
	add	x2, sp, #16
	mov	x0, x1
	mov	x1, x8
	bl	_asn1_get_next
	ldr	x8, [sp, #16]
	tbnz	x0, #63, LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x9, [sp, #24]
Lloh3:
	adrp	x10, _ASN1_TAG_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ASN1_TAG_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh11:
	adrp	x8, _X509_EXT_SUBJECT_ALT_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _X509_EXT_SUBJECT_ALT_NAME@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	ldr	x2, [sp, #32]
	cbz	x2, LBB0_7
; %bb.4:
	ldr	w1, [sp, #40]
	mov	x0, x19
	bl	_x509_parse_ext_alt_name
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
	ldr	x9, [sp, #24]
	stp	x8, x9, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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: Expected SEQUENCE in SubjectAltName; found %d tag 0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"X509: SubjectAltName"

	.comm	_X509_EXT_SUBJECT_ALT_NAME,4,2  ; @X509_EXT_SUBJECT_ALT_NAME
	.no_dead_strip	_x509_parse_ext_subject_alt_name
.subsections_via_symbols
