	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collector_encode_hex_htmlnumericentity
_collector_encode_hex_htmlnumericentity: ## @collector_encode_hex_htmlnumericentity
	.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, %r14
	movl	%edi, %r12d
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.1:
	movq	8(%r14), %rcx
	shlq	$4, %rax
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rax
	je	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rcx,%rdx)
	jg	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, 4(%rcx,%rdx)
	jl	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rcx,%rdx), %ebx
	addl	%r12d, %ebx
	andl	12(%rcx,%rdx), %ebx
	js	LBB0_19
## %bb.5:
	movq	16(%r14), %rsi
	movl	$38, %edi
	callq	*(%rsi)
	movq	16(%r14), %rsi
	movl	$35, %edi
	callq	*(%rsi)
	movq	16(%r14), %rsi
	movl	$120, %edi
	callq	*(%rsi)
	movl	%ebx, %r15d
	andl	$16777215, %r15d                ## imm = 0xFFFFFF
	xorl	%r13d, %r13d
	movl	$0, %eax
	cmpl	$1048576, %r15d                 ## imm = 0x100000
	jb	LBB0_7
## %bb.6:
	shrq	$20, %r15
	andl	$1048575, %ebx                  ## imm = 0xFFFFF
	movq	16(%r14), %rsi
	movq	_mbfl_hexchar_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %edi
	callq	*(%rsi)
	movl	$1, %eax
	movl	%ebx, %r15d
LBB0_7:
	movl	%r15d, %ecx
	shrl	$16, %ecx
	orl	%ecx, %eax
	je	LBB0_9
## %bb.8:
	movzwl	%r15w, %r15d
	movq	16(%r14), %rsi
	movq	_mbfl_hexchar_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movl	(%rax,%rcx,4), %edi
	callq	*(%rsi)
	movl	$1, %r13d
LBB0_9:
	movl	%r15d, %eax
	shrl	$12, %eax
	orl	%eax, %r13d
	je	LBB0_10
## %bb.11:
	andl	$4095, %r15d                    ## imm = 0xFFF
	movq	16(%r14), %rsi
	movq	_mbfl_hexchar_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edi
	callq	*(%rsi)
	movl	$1, %ecx
	jmp	LBB0_12
LBB0_20:
	movq	16(%r14), %rsi
	movl	%r12d, %edi
LBB0_21:
	callq	*(%rsi)
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%ecx, %ecx
LBB0_12:
	movl	%r15d, %eax
	shrl	$8, %eax
	orl	%eax, %ecx
	je	LBB0_13
## %bb.14:
	movzbl	%r15b, %r15d
	movq	16(%r14), %rsi
	movq	_mbfl_hexchar_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edi
	callq	*(%rsi)
	movl	$1, %ecx
	jmp	LBB0_15
LBB0_13:
	xorl	%ecx, %ecx
LBB0_15:
	movl	%r15d, %eax
	shrl	$4, %eax
	xorl	%ebx, %ebx
	orl	%eax, %ecx
	je	LBB0_16
## %bb.17:
	andl	$15, %r15d
	movq	16(%r14), %rsi
	movq	_mbfl_hexchar_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edi
	callq	*(%rsi)
	movl	$1, %eax
	jmp	LBB0_18
LBB0_16:
	xorl	%eax, %eax
LBB0_18:
	orl	%r15d, %eax
	movq	16(%r14), %rsi
	movq	_mbfl_hexchar_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmovnel	%r15d, %ebx
	movl	(%rax,%rbx,4), %edi
	callq	*(%rsi)
	movq	16(%r14), %rsi
	movl	$59, %edi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_mbfl_hexchar_table,8,3         ## @mbfl_hexchar_table
	.no_dead_strip	_collector_encode_hex_htmlnumericentity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function collector_encode_hex_htmlnumericentity
_collector_encode_hex_htmlnumericentity: ; @collector_encode_hex_htmlnumericentity
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x20, #8]
	add	x9, x9, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	cmp	w10, w19
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w19
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w10, w11, [x9]
	add	w10, w10, w19
	ands	w23, w10, w11
	b.lt	LBB0_2
; %bb.6:
	ldr	x1, [x20, #16]
	ldr	x8, [x1]
	mov	w0, #38
	blr	x8
	ldr	x1, [x20, #16]
	ldr	x8, [x1]
	mov	w0, #35
	blr	x8
	ldr	x1, [x20, #16]
	ldr	x8, [x1]
	mov	w0, #120
	blr	x8
	and	x21, x23, #0xffffff
Lloh0:
	adrp	x22, _mbfl_hexchar_table@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mbfl_hexchar_table@GOTPAGEOFF]
	cmp	w21, #256, lsl #12              ; =1048576
	b.hs	LBB0_10
; %bb.7:
	mov	w9, #0
	b	LBB0_11
LBB0_8:
	ldr	x1, [x20, #16]
	ldr	x8, [x1]
	mov	x0, x19
LBB0_9:
	blr	x8
	mov	x0, x19
	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
LBB0_10:
	lsr	x8, x21, #18
	and	x8, x8, #0x3c
	and	w21, w23, #0xfffff
	ldr	x1, [x20, #16]
	ldr	x9, [x1]
	ldr	x10, [x22]
	ldr	w0, [x10, x8]
	blr	x9
	mov	w9, #1
LBB0_11:
	lsr	w8, w21, #16
	orr	w9, w8, w9
	cbz	w9, LBB0_13
; %bb.12:
	and	w21, w21, #0xffff
	ldr	x1, [x20, #16]
	ldr	x9, [x1]
	ldr	x10, [x22]
	ldr	w0, [x10, w8, uxtw #2]
	blr	x9
	mov	w9, #1
LBB0_13:
	lsr	w8, w21, #12
	orr	w9, w8, w9
	cbz	w9, LBB0_15
; %bb.14:
	and	w21, w21, #0xfff
	ldr	x1, [x20, #16]
	ldr	x9, [x1]
	ldr	x10, [x22]
	ldr	w0, [x10, w8, uxtw #2]
	blr	x9
	mov	w9, #1
LBB0_15:
	lsr	w8, w21, #8
	orr	w9, w8, w9
	cbz	w9, LBB0_17
; %bb.16:
	and	w21, w21, #0xff
	ldr	x1, [x20, #16]
	ldr	x9, [x1]
	ldr	x10, [x22]
	ldr	w0, [x10, w8, uxtw #2]
	blr	x9
	mov	w9, #1
LBB0_17:
	lsr	w8, w21, #4
	orr	w9, w8, w9
	cbz	w9, LBB0_19
; %bb.18:
	and	w21, w21, #0xf
	ldr	x1, [x20, #16]
	ldr	x9, [x1]
	ldr	x10, [x22]
	ldr	w0, [x10, w8, uxtw #2]
	blr	x9
	mov	w8, #1
	b	LBB0_20
LBB0_19:
	mov	w8, #0
LBB0_20:
	orr	w8, w21, w8
	ldr	x1, [x20, #16]
	ldr	x9, [x1]
	ldr	x10, [x22]
	cmp	w8, #0
	csel	w8, wzr, w21, eq
	ldr	w0, [x10, w8, uxtw #2]
	blr	x9
	ldr	x1, [x20, #16]
	ldr	x8, [x1]
	mov	w0, #59
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mbfl_hexchar_table,8,3         ; @mbfl_hexchar_table
	.no_dead_strip	_collector_encode_hex_htmlnumericentity
.subsections_via_symbols
