	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_keyphrase
_extract_keyphrase:                     ## @extract_keyphrase
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_8
LBB0_25:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rax, %r12
	addq	$2, %r12
LBB0_10:
	movq	%r12, %rdi
	movl	$38, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_22
LBB0_21:
	movb	$0, (%rax)
LBB0_22:
	movq	%r12, %rdi
	callq	_decode_url
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	cmpb	$0, (%rax)
	je	LBB0_25
## %bb.24:
	movq	%rax, %rdi
	movl	$43, %esi
	movl	$32, %edx
	callq	_char_replace
	movq	%rax, %rdi
	callq	_trim_str
	movq	%rax, (%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_25
LBB0_11:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$43, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.13:
	incq	%rax
	movq	%rax, %r12
	jmp	LBB0_10
LBB0_14:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	addq	$3, %r12
	jmp	LBB0_10
LBB0_17:
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_25
LBB0_19:
	addq	$7, %r12
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_22
LBB0_6:
	movl	$1, %r15d
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http://www.google."

L_.str.1:                               ## @.str.1
	.asciz	"http://webcache.googleusercontent.com/"

L_.str.2:                               ## @.str.2
	.asciz	"http://translate.googleusercontent.com/"

L_.str.3:                               ## @.str.3
	.asciz	"https://www.google."

L_.str.4:                               ## @.str.4
	.asciz	"https://webcache.googleusercontent.com/"

L_.str.5:                               ## @.str.5
	.asciz	"https://translate.googleusercontent.com/"

L_.str.6:                               ## @.str.6
	.asciz	"/+&"

L_.str.7:                               ## @.str.7
	.asciz	"/+"

L_.str.8:                               ## @.str.8
	.asciz	"q=cache:"

L_.str.9:                               ## @.str.9
	.asciz	"&q="

L_.str.10:                              ## @.str.10
	.asciz	"?q="

L_.str.11:                              ## @.str.11
	.asciz	"%26q%3D"

L_.str.12:                              ## @.str.12
	.asciz	"%3Fq%3D"

L_.str.13:                              ## @.str.13
	.asciz	"%26"

	.no_dead_strip	_extract_keyphrase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_keyphrase
_extract_keyphrase:                     ; @extract_keyphrase
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbnz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_6
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_7
LBB0_6:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_9
LBB0_7:
	mov	w0, #1
LBB0_8:
	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_9:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_11
; %bb.10:
	add	x20, x0, #2
	b	LBB0_16
LBB0_11:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_13
; %bb.12:
	mov	x21, x0
	mov	w1, #43
	bl	_strchr
	cmp	x0, #0
	csinc	x20, x21, x0, eq
	b	LBB0_16
LBB0_13:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_15
; %bb.14:
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_21
LBB0_15:
	add	x20, x0, #3
LBB0_16:
	mov	x0, x20
	mov	w1, #38
	bl	_strchr
	cbz	x0, LBB0_18
LBB0_17:
	strb	wzr, [x0]
LBB0_18:
	mov	x0, x20
	bl	_decode_url
	cbz	x0, LBB0_7
; %bb.19:
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.20:
	mov	w1, #43
	mov	w2, #32
	bl	_char_replace
	bl	_trim_str
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_8
LBB0_21:
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_23
; %bb.22:
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_7
LBB0_23:
	add	x20, x0, #7
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_17
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http://www.google."

l_.str.1:                               ; @.str.1
	.asciz	"http://webcache.googleusercontent.com/"

l_.str.2:                               ; @.str.2
	.asciz	"http://translate.googleusercontent.com/"

l_.str.3:                               ; @.str.3
	.asciz	"https://www.google."

l_.str.4:                               ; @.str.4
	.asciz	"https://webcache.googleusercontent.com/"

l_.str.5:                               ; @.str.5
	.asciz	"https://translate.googleusercontent.com/"

l_.str.6:                               ; @.str.6
	.asciz	"/+&"

l_.str.7:                               ; @.str.7
	.asciz	"/+"

l_.str.8:                               ; @.str.8
	.asciz	"q=cache:"

l_.str.9:                               ; @.str.9
	.asciz	"&q="

l_.str.10:                              ; @.str.10
	.asciz	"?q="

l_.str.11:                              ; @.str.11
	.asciz	"%26q%3D"

l_.str.12:                              ; @.str.12
	.asciz	"%3Fq%3D"

l_.str.13:                              ; @.str.13
	.asciz	"%26"

	.no_dead_strip	_extract_keyphrase
.subsections_via_symbols
