	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_match_alt_subject
_tls_match_alt_subject:                 ## @tls_match_alt_subject
	.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
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$6, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_os_strncmp
	movl	$4, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_os_strncmp
	movq	_GEN_URI@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_3
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$6, %ebx
	movq	_GEN_EMAIL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_GEN_DNS@GOTPCREL(%rip), %rcx
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	%rbx, %r13
	movl	(%rcx), %r14d
	movq	%r13, %rdi
	movl	$59, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rbx), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$6, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %rdi
	movl	$59, %esi
	callq	_os_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_os_strlen
	movq	%rax, %rcx
	movb	$1, %r12b
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rcx
	subq	%r13, %rcx
	xorl	%r12d, %r12d
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_tls_match_alt_subject_component
	testq	%rax, %rax
	jg	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	movq	%rbx, %r13
	testb	%r12b, %r12b
	je	LBB0_1
	jmp	LBB0_18
LBB0_16:
	movl	$1, %eax
	jmp	LBB0_19
LBB0_13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdx
	callq	_wpa_printf
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EMAIL:"

	.comm	_GEN_EMAIL,4,2                  ## @GEN_EMAIL
L_.str.1:                               ## @.str.1
	.asciz	"DNS:"

	.comm	_GEN_DNS,4,2                    ## @GEN_DNS
L_.str.2:                               ## @.str.2
	.asciz	"URI:"

	.comm	_GEN_URI,4,2                    ## @GEN_URI
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"TLS: Invalid altSubjectName match '%s'"

	.no_dead_strip	_tls_match_alt_subject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_match_alt_subject
_tls_match_alt_subject:                 ; @tls_match_alt_subject
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _GEN_EMAIL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _GEN_EMAIL@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x28, _GEN_URI@GOTPAGE
Lloh7:
	ldr	x28, [x28, _GEN_URI@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.2@PAGE
Lloh9:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x23
	mov	x1, x20
	mov	w2, #6
	bl	_os_strncmp
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	mov	x1, x21
	mov	w2, #4
	bl	_os_strncmp
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	w2, #4
	bl	_os_strncmp
	cbnz	x0, LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #4
	mov	x9, x28
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #6
	mov	x9, x27
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #4
Lloh10:
	adrp	x9, _GEN_DNS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GEN_DNS@GOTPAGEOFF]
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x23, x23, x8
	ldr	w24, [x9]
	mov	x0, x23
	mov	w1, #59
	bl	_os_strchr
	cbz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
LBB0_9:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x26, x25, #1
	mov	x0, x26
	mov	x1, x20
	mov	w2, #6
	bl	_os_strncmp
	cbz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x26
	mov	x1, x21
	mov	w2, #4
	bl	_os_strncmp
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x26
	mov	x1, x22
	mov	w2, #4
	bl	_os_strncmp
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x26
	mov	w1, #59
	bl	_os_strchr
	mov	x25, x0
	cbnz	x0, LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_os_strlen
	mov	x3, x0
	mov	x25, #0
	mov	w26, #1
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w26, #0
	sub	x3, x25, x23
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_tls_match_alt_subject_component
	cmp	x0, #0
	b.gt	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x23, x25, #1
	cbz	w26, LBB0_1
	b	LBB0_19
LBB0_17:
	mov	w0, #1
	b	LBB0_20
LBB0_18:
Lloh12:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x23
	bl	_wpa_printf
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EMAIL:"

	.comm	_GEN_EMAIL,4,2                  ; @GEN_EMAIL
l_.str.1:                               ; @.str.1
	.asciz	"DNS:"

	.comm	_GEN_DNS,4,2                    ; @GEN_DNS
l_.str.2:                               ; @.str.2
	.asciz	"URI:"

	.comm	_GEN_URI,4,2                    ; @GEN_URI
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"TLS: Invalid altSubjectName match '%s'"

	.no_dead_strip	_tls_match_alt_subject
.subsections_via_symbols
