	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_string_parse_html_anchor       ## -- Begin function string_parse_html_anchor
	.p2align	4, 0x90
_string_parse_html_anchor:              ## @string_parse_html_anchor
	.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
	movl	$1, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.3:
	movq	%r8, %r13
	movq	%rdi, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rcx, %rdx
	callq	_memset
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_memset
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasestr
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %rbx
	cmpb	$0, 9(%rax)
	je	LBB0_12
## %bb.5:
	addq	$9, %rbx
	cmpb	$0, (%r12)
	je	LBB0_6
## %bb.8:
	cmpb	$0, (%r15)
	jne	LBB0_12
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %r12
	subq	%rbx, %r12
	addq	$2, %rbx
	leaq	-2(%r12), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movb	$0, -2(%r15,%r12)
	jmp	LBB0_12
LBB0_6:
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %r13
	subq	%rbx, %r13
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%rax, %rbx
	callq	_memcpy
	movb	$0, (%r12,%r13)
	cmpb	$0, (%r15)
	je	LBB0_9
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movl	%r14d, %eax
	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	"<a href=\""

L_.str.2:                               ## @.str.2
	.asciz	"\">"

L_.str.3:                               ## @.str.3
	.asciz	"</a>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_string_parse_html_anchor       ; -- Begin function string_parse_html_anchor
	.p2align	2
_string_parse_html_anchor:              ; @string_parse_html_anchor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	mov	w0, #1
	cbz	x21, LBB0_14
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_14
; %bb.3:
	mov	x22, x4
	mov	x0, x20
	mov	w1, #0
	mov	x2, x3
	bl	_memset
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	bl	_memset
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasestr
	cbz	x0, LBB0_13
; %bb.4:
	mov	x21, x0
	ldrb	w8, [x21, #9]!
	cbz	w8, LBB0_7
; %bb.5:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.6:
	ldrb	w8, [x19]
	cbz	w8, LBB0_10
LBB0_7:
	mov	w0, #0
	b	LBB0_14
LBB0_8:
	mov	x0, x21
	mov	w1, #34
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.9:
	mov	x22, x0
	sub	x23, x0, x21
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x20, x23]
	mov	x21, x22
	ldrb	w8, [x19]
	cbnz	w8, LBB0_7
LBB0_10:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strstr
	cbz	x0, LBB0_13
; %bb.11:
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_13
; %bb.12:
	add	x1, x20, #2
	sub	x8, x0, x20
	sub	x20, x8, #2
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
	mov	w0, #0
	strb	wzr, [x19, x20]
	b	LBB0_14
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<a href=\""

l_.str.2:                               ; @.str.2
	.asciz	"\">"

l_.str.3:                               ; @.str.3
	.asciz	"</a>"

.subsections_via_symbols
