	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_check_wildcard
_x509_check_wildcard:                   ## @x509_check_wildcard
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_strlen
	movslq	(%rbx), %rcx
	xorl	%r14d, %r14d
	cmpq	$3, %rcx
	jl	LBB0_11
## %bb.1:
	movq	8(%rbx), %rdi
	cmpb	$42, (%rdi)
	jne	LBB0_11
## %bb.2:
	cmpb	$46, 1(%rdi)
	jne	LBB0_11
## %bb.3:
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	incq	%rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$46, (%r15,%rdx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_5
	jmp	LBB0_11
LBB0_7:
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.8:
	negq	%rcx
	addq	%rax, %rcx
	incq	%rcx
	cmpq	%rdx, %rcx
	jne	LBB0_11
## %bb.9:
	addq	%rdx, %r15
	subq	%rdx, %rax
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_x509_memcasecmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	xorl	%r14d, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_x509_check_wildcard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_check_wildcard
_x509_check_wildcard:                   ; @x509_check_wildcard
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_strlen
	ldrsw	x9, [x20]
	cmp	w9, #3
	b.lt	LBB0_7
; %bb.1:
	ldr	x8, [x20, #8]
	ldrb	w10, [x8]
	cmp	w10, #42
	b.ne	LBB0_7
; %bb.2:
	ldrb	w10, [x8, #1]!
	cmp	w10, #46
	b.ne	LBB0_7
; %bb.3:
	cbz	x0, LBB0_12
; %bb.4:
	mov	x10, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x19, x10]
	cmp	w11, #46
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, #1
	cmp	x0, x10
	b.ne	LBB0_5
	b	LBB0_12
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	cbz	x10, LBB0_12
; %bb.10:
	sub	x9, x0, x9
	add	x9, x9, #1
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.11:
	add	x1, x19, x10
	sub	x2, x0, x10
	mov	x0, x8
	bl	_x509_memcasecmp
	cbz	x0, LBB0_8
LBB0_12:
	mov	w0, #-1
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_x509_check_wildcard
.subsections_via_symbols
