	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_hexdump                 ## -- Begin function quicly_hexdump
	.p2align	4, 0x90
_quicly_hexdump:                        ## @quicly_hexdump
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_6
## %bb.1:
	leaq	(%rbx,%rbx), %r13
	incq	%r13
	movq	%r13, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.2:
	movq	%rax, %r12
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.3:
	xorl	%r15d, %r15d
	movq	%r12, %rax
	movq	%r14, %r12
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15,8), %rsi
	movq	%r14, %rdi
	callq	_quicly_byte_to_hex
	addq	$2, %r14
	incq	%r15
	cmpq	%r15, %rbx
	jne	LBB0_4
## %bb.5:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_6:
	movq	%rdx, %r15
	leaq	72(%rdx), %rax
	leaq	15(%rbx), %r13
	shrq	$4, %r13
	imulq	%rax, %r13
	incq	%r13
	movq	%r13, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.7:
	movq	%rax, %r12
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.8:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rdi
	xorl	%r13d, %r13d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rax,%r14), %rcx
	addq	$8, %rcx
	movb	$10, 7(%rax,%r14)
	incq	-56(%rbp)                       ## 8-byte Folded Spill
	addq	$16, %r13
	subq	$-128, %rdi
	cmpq	%rbx, %r13
	jae	LBB0_23
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rcx, %r14
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, %rdi
	movl	$32, %esi
	movq	%r15, %rdx
	callq	_memset
	leaq	(%r12,%r15), %r14
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	shrl	$4, %eax
	movzbl	%al, %esi
	movq	%r14, %rdi
	callq	_quicly_byte_to_hex
	leaq	2(%r14), %rdi
	movl	%r13d, %esi
	andl	$240, %esi
	callq	_quicly_byte_to_hex
	movb	$32, 4(%r14)
	movq	%r13, %r15
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=2
	movw	$8224, 6(%r14,%r12)             ## imm = 0x2020
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	$3, %r12
	incq	%r15
	cmpq	$48, %r12
	je	LBB0_17
LBB0_15:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$24, %r12
	movl	$32, %eax
	movl	$45, %ecx
	cmovel	%ecx, %eax
	movb	%al, 5(%r14,%r12)
	cmpq	%rbx, %r15
	jae	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	(%r14,%r12), %rdi
	addq	$6, %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rsi
	callq	_quicly_byte_to_hex
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movw	$8224, 5(%r14,%r12)             ## imm = 0x2020
	addq	%r12, %r14
	xorl	%eax, %eax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	$46, %r8d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=2
	movb	%cl, 8(%r14,%rax)
	addq	$2, %rax
	cmpq	$16, %rax
	je	LBB0_9
LBB0_19:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rax,%r13), %rsi
	movb	$32, %cl
	movb	$32, %dl
	cmpq	%rbx, %rsi
	jae	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	-8(%rdi,%rax,8), %edx
	leal	-32(%rdx), %esi
	cmpl	$95, %esi
	cmovael	%r8d, %edx
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	movb	%dl, 7(%r14,%rax)
	leaq	(%rax,%r13), %rdx
	incq	%rdx
	cmpq	%rbx, %rdx
	jae	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	(%rdi,%rax,8), %ecx
	leal	-32(%rcx), %edx
	cmpl	$95, %edx
	cmovael	%r8d, %ecx
	jmp	LBB0_18
LBB0_25:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_27:
	movq	%r12, %r14
	jmp	LBB0_28
LBB0_23:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	%r15, %rcx
	addq	%r12, %rcx
	leaq	(%rax,%rcx), %r14
	addq	$8, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_28:
	movb	$0, (%r14)
	subq	%r12, %r14
	incq	%r14
	xorl	%edi, %edi
	cmpq	%r13, %r14
	setbe	%dil
	callq	_assert
LBB0_29:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_hexdump                 ; -- Begin function quicly_hexdump
	.p2align	2
_quicly_hexdump:                        ; @quicly_hexdump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_4
; %bb.1:
	mov	w19, #1
	bfi	x19, x21, #1, #63
	mov	x0, x19
	bl	_malloc
	mov	x25, x0
	cbz	x0, LBB0_23
; %bb.2:
	mov	x23, x25
	cbz	x21, LBB0_22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24], #8
	mov	x0, x23
	bl	_quicly_byte_to_hex
	add	x23, x23, #2
	subs	x21, x21, #1
	b.ne	LBB0_3
	b	LBB0_22
LBB0_4:
	mov	x26, x2
	add	x8, x2, #72
	add	x9, x21, #15
	lsr	x9, x9, #4
	orr	x10, xzr, #0x1
	madd	x19, x8, x9, x10
	mov	x0, x19
	bl	_malloc
	mov	x25, x0
	cbz	x0, LBB0_23
; %bb.5:
	cbz	x21, LBB0_21
; %bb.6:
	stp	x25, x19, [sp, #8]              ; 16-byte Folded Spill
	mov	x27, #0
	stp	x26, xzr, [sp, #32]             ; 16-byte Folded Spill
	mov	w28, #32
	mov	w19, #45
	mov	w20, #46
	mov	x22, x24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x25, x23
	add	x10, x9, x8
	add	x25, x10, #8
	mov	w11, #10
	strb	w11, [x10, #7]
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x10, x10, #1
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	add	x27, x27, #16
	add	x22, x22, #128
	cmp	x27, x21
	b.hs	LBB0_20
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	mov	x23, x25
	cbz	x26, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	w1, #32
	mov	x2, x26
	bl	_memset
	add	x25, x23, x26
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ubfx	x1, x8, #4, #8
	mov	x0, x25
	bl	_quicly_byte_to_hex
	add	x0, x25, #2
	and	x1, x27, #0xf0
	bl	_quicly_byte_to_hex
	mov	x23, #0
	strb	w28, [x25, #4]
	mov	x26, x27
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	strb	w28, [x8, #6]
	strb	w28, [x8, #7]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x23, x23, #3
	add	x26, x26, #1
	cmp	x23, #48
	b.eq	LBB0_15
LBB0_13:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x25, x23
	cmp	x23, #24
	csel	w9, w19, w28, eq
	strb	w9, [x8, #5]
	cmp	x26, x21
	b.hs	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x0, x8, #6
	ldr	x1, [x24, x26, lsl #3]
	bl	_quicly_byte_to_hex
	b	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, #0
	add	x9, x25, x23
	mov	w10, #8224
	sturh	w10, [x9, #5]
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=2
	ldr	x10, [x22, x8, lsl #3]
	sub	w11, w10, #32
	cmp	w11, #95
	csel	w10, w10, w20, lo
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x11, x9, x8
	strb	w10, [x11, #7]
	add	x8, x8, #1
	cmp	x8, #16
	b.eq	LBB0_7
LBB0_18:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x10, x27, x8
	cmp	x10, x21
	b.lo	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	w10, #32
	b	LBB0_17
LBB0_20:
	ldp	x19, x9, [sp, #16]              ; 16-byte Folded Reload
	add	x9, x9, x26
	add	x9, x9, x23
	add	x8, x9, x8
	add	x23, x8, #8
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_22
LBB0_21:
	mov	x23, x25
LBB0_22:
	strb	wzr, [x23]
	sub	x8, x23, x25
	add	x8, x8, #1
	cmp	x8, x19
	cset	w0, ls
	bl	_assert
LBB0_23:
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
.subsections_via_symbols
