	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_cert
_run_cert:                              ## @run_cert
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_names@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	xorl	%r13d, %r13d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %eax
	movl	$0, %ebx
	sbbl	%ebx, %ebx
	orl	$1, %ebx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %r8
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_check_message
	movl	%eax, %edi
	callq	_TEST_true
	testl	%r14d, %r14d
	movl	$1, %ecx
	cmovel	%ecx, %r13d
	testl	%eax, %eax
	cmovel	%ecx, %r13d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_OPENSSL_free
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%r12), %rbx
	addq	$8, %r12
	testq	%rbx, %rbx
	je	LBB0_19
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_strcasecmp
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OPENSSL_malloc
	movq	%rax, %r14
	movq	(%r12), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_X509_check_host
	movl	%eax, %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_ge
	movl	$1, %r14d
	movl	$-1, %ecx
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	setne	%al
	cmpl	$1, %ebx
	sete	%cl
	andb	%al, %cl
	testq	%rdx, %rdx
	movzbl	%cl, %eax
	leal	-1(%rax,%rax), %eax
	movl	%eax, %ecx
	movl	$0, %edx
	cmovel	%edx, %ecx
	testl	%ebx, %ebx
	cmovnel	%eax, %ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpl	$1, %ebx
	sete	%al
	leal	(%rax,%rax), %ecx
	decl	%ecx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r8
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_check_message
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	movl	$1, %r13d
	cmovel	%r13d, %r14d
	movq	_X509_CHECK_FLAG_NO_WILDCARDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_X509_check_host
	movl	%eax, %r12d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_ge
	movl	$-1, %ebx
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%r15)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	setne	%al
	cmpl	$1, %r12d
	sete	%cl
	andb	%al, %cl
	testq	%rdx, %rdx
	movzbl	%cl, %eax
	leal	-1(%rax,%rax), %eax
	movl	%eax, %ebx
	movl	$0, %ecx
	cmovel	%ecx, %ebx
	testl	%r12d, %r12d
	cmovnel	%eax, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpl	$1, %r12d
	sete	%al
	leal	(%rax,%rax), %ebx
	decl	%ebx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %r13d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %r8
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_check_message
	movl	%eax, %edi
	callq	_TEST_true
	movl	%eax, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_X509_check_email
	cmpq	$0, (%r15)
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	setne	%cl
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	setne	%dl
	andb	%cl, %dl
	movzbl	%dl, %ecx
	leal	(%rcx,%rcx), %ebx
	decl	%ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rsi, %rsi
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	movl	$0, %eax
	cmovnel	%eax, %ebx
	jmp	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	testl	%r13d, %r13d
	sete	%al
	jmp	LBB0_20
LBB0_1:
	movl	$1, %eax
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_names,8,3                      ## @names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"host"

	.comm	_X509_CHECK_FLAG_NO_WILDCARDS,4,2 ## @X509_CHECK_FLAG_NO_WILDCARDS
L_.str.1:                               ## @.str.1
	.asciz	"host-no-wildcards"

L_.str.2:                               ## @.str.2
	.asciz	"email"

	.no_dead_strip	_run_cert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_cert
_run_cert:                              ; @run_cert
	.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
Lloh0:
	adrp	x8, _names@GOTPAGE
Lloh1:
	ldr	x8, [x8, _names@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	x25, [x22]
	cbz	x25, LBB0_17
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w24, #0
	mov	w23, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #0
	cneg	w27, w23, ne
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x22]
	mov	x0, x19
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	mov	x3, x27
	bl	_check_message
	bl	_TEST_true
	cmp	w28, #0
	ccmp	w0, #0, #4, ne
	csinc	w24, w24, wzr, ne
	mov	x0, x25
	bl	_OPENSSL_free
	ldr	x25, [x22, #8]!
	cbz	x25, LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_strcasecmp
	mov	x26, x0
	mov	x0, x25
	bl	_strlen
	mov	x27, x0
	bl	_OPENSSL_malloc
	mov	x25, x0
	ldr	x1, [x22]
	mov	x2, x27
	bl	_memcpy
	mov	x0, x21
	mov	x1, x25
	mov	x2, x27
	mov	w3, #0
	mov	x4, #0
	bl	_X509_check_host
	mov	x28, x0
	mov	w1, #0
	bl	_TEST_int_ge
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	cmp	w28, #1
	csinv	w9, w28, wzr, eq
	cmp	x26, #0
	cset	w10, eq
	cmp	w28, #1
	cset	w11, ne
	orr	w11, w11, w10
	cmp	w11, #0
	cneg	w11, w23, eq
	cmp	w28, #0
	cset	w12, eq
	tst	w12, w10
	csel	w10, wzr, w11, ne
	cmp	x8, #0
	csel	w3, w9, w10, eq
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w3, #-1
	mov	w24, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x22]
	mov	x0, x19
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_check_message
	bl	_TEST_true
	cmp	w0, #0
	csinc	w24, w24, wzr, ne
Lloh7:
	adrp	x8, _X509_CHECK_FLAG_NO_WILDCARDS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _X509_CHECK_FLAG_NO_WILDCARDS@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x27
	mov	x4, #0
	bl	_X509_check_host
	mov	x28, x0
	mov	w1, #0
	bl	_TEST_int_ge
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x26, #0
	cset	w8, eq
	cmp	w28, #1
	cset	w9, ne
	orr	w9, w9, w8
	cmp	w9, #0
	cneg	w9, w23, eq
	cmp	w28, #0
	cset	w10, eq
	tst	w10, w8
	csel	w3, wzr, w9, ne
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w3, #-1
	mov	w24, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w28, #1
	csinv	w3, w28, wzr, eq
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x22]
	mov	x0, x19
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_check_message
	bl	_TEST_true
	mov	x28, x0
	mov	x0, x21
	mov	x1, x25
	mov	x2, x27
	mov	w3, #0
	bl	_X509_check_email
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x26, #0
	ccmp	w0, #0, #4, ne
	cneg	w27, w23, ne
	cbnz	w0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x26, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #64
	bl	_strchr
	cmp	x0, #0
	csel	w27, w27, wzr, eq
	b	LBB0_3
LBB0_16:
	cmp	w24, #0
	cset	w0, eq
	b	LBB0_18
LBB0_17:
	mov	w0, #1
LBB0_18:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_names,8,3                      ; @names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"host"

	.comm	_X509_CHECK_FLAG_NO_WILDCARDS,4,2 ; @X509_CHECK_FLAG_NO_WILDCARDS
l_.str.1:                               ; @.str.1
	.asciz	"host-no-wildcards"

l_.str.2:                               ; @.str.2
	.asciz	"email"

	.no_dead_strip	_run_cert
.subsections_via_symbols
