	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function browscap_compute_contains
_browscap_compute_contains:             ## @browscap_compute_contains
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_ZSTR_LEN
	cmpq	%r13, %rax
	ja	LBB0_2
## %bb.1:
	movq	%r13, %rbx
LBB0_6:
	movq	%rbx, (%r15)
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_ZSTR_LEN
	cmpq	%rax, %rbx
	jae	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_ZSTR_VAL
	movl	(%rax,%rbx,4), %edi
	callq	_is_placeholder
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_ZSTR_LEN
	movq	%r13, %rbx
	cmpq	%rax, %r13
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movq	%r12, %rdi
	callq	_ZSTR_VAL
	movl	(%rax,%r13,4), %edi
	callq	_is_placeholder
	incq	%r13
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_ZSTR_LEN
	cmpq	%rax, %r13
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_ZSTR_VAL
	movl	(%rax,%r13,4), %edi
	callq	_is_placeholder
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_10:
	movq	%rbx, %rdi
	subq	(%r15), %rdi
	movq	_UINT8_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MIN
	movq	%rax, (%r14)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT8_MAX,4,2                  ## @UINT8_MAX
	.no_dead_strip	_browscap_compute_contains
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function browscap_compute_contains
_browscap_compute_contains:             ; @browscap_compute_contains
	.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	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	bl	_ZSTR_LEN
	cmp	x0, x20
	b.hi	LBB0_2
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ZSTR_LEN
	mov	x20, x23
	cmp	x23, x0
	b.hs	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_ZSTR_VAL
	ldr	w0, [x0, x20, lsl #2]
	bl	_is_placeholder
	add	x23, x20, #1
	cbnz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ZSTR_LEN
	cmp	x23, x0
	b.hs	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ZSTR_VAL
	add	x8, x0, x20, lsl #2
	ldr	w0, [x8, #4]
	bl	_is_placeholder
	cbnz	x0, LBB0_1
LBB0_5:
	str	x20, [x21]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_ZSTR_LEN
	cmp	x20, x0
	b.hs	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_ZSTR_VAL
	ldr	w0, [x0, x20, lsl #2]
	bl	_is_placeholder
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	b	LBB0_6
LBB0_9:
	ldr	x8, [x21]
	sub	x0, x20, x8
Lloh0:
	adrp	x8, _UINT8_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT8_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MIN
	str	x0, [x19]
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT8_MAX,4,2                  ; @UINT8_MAX
	.no_dead_strip	_browscap_compute_contains
.subsections_via_symbols
