	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wildcard_certificate_match
_wildcard_certificate_match:            ## @wildcard_certificate_match
	.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, %r15
	movq	%rdi, %rbx
	callq	_strlen
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
	xorl	%r14d, %r14d
	cmpl	$3, %r12d
	jl	LBB0_6
## %bb.1:
	cmpb	$42, (%rbx)
	jne	LBB0_6
## %bb.2:
	cmpb	$46, 1(%rbx)
	jne	LBB0_6
## %bb.3:
	cmpl	%eax, %r12d
	jg	LBB0_6
## %bb.4:
	incq	%rbx
	movslq	%eax, %r13
	addq	%r15, %r13
	movl	%r12d, %eax
	subq	%rax, %r13
	leaq	1(%r13), %rsi
	movq	%rbx, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strchr
	xorl	%r14d, %r14d
	cmpq	%r13, %rax
	setae	%r14b
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wildcard_certificate_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wildcard_certificate_match
_wildcard_certificate_match:            ; @wildcard_certificate_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x21, x0
	mov	x0, x19
	bl	_strlen
	cmp	w21, #3
	b.lt	LBB0_4
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #42
	b.ne	LBB0_4
; %bb.2:
	ldrb	w8, [x20, #1]!
	cmp	w8, #46
	ccmp	w21, w0, #0, eq
	b.gt	LBB0_4
; %bb.3:
	add	x8, x19, w0, sxtw
	sub	x21, x8, w21, uxtw
	add	x1, x21, #1
	mov	x0, x20
	bl	_pg_strcasecmp
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	mov	w1, #46
	bl	_strchr
	cmp	x0, x21
	cset	w0, hs
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wildcard_certificate_match
.subsections_via_symbols
