	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_hexdump                    ## -- Begin function log_hexdump
	.p2align	4, 0x90
_log_hexdump:                           ## @log_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	testl	%edi, %edi
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	_fd_out@GOTPCREL(%rip), %r14
	movl	%ecx, %r15d
	movl	(%r14), %r13d
	xorl	%eax, %eax
	callq	_GetCurrentThreadId
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%r15d, %r13d
	movl	%eax, %edx
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	testl	%r15d, %r15d
	jle	LBB0_13
## %bb.2:
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	addq	$16, %rbx
	addq	$16, %r12
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, %ebx
	leaq	L_.str.2(%rip), %r15
	jge	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%rbx,%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	%r13d, %ecx
	subl	%ebx, %ecx
	cmpl	$16, %ecx
	movl	$16, %eax
	cmovll	%ecx, %eax
	cltq
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, %r12d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	movq	_fd_out@GOTPCREL(%rip), %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %r12b
	movl	(%r14), %edi
	movsbl	(%rbx,%r12), %edx
	movq	%r15, %rsi
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%r12
	cmpq	%r13, %r12
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$15, %r12d
	ja	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_fd_out@GOTPCREL(%rip), %r14
	leaq	L_.str.5(%rip), %r15
	leaq	L_.str.4(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %r12b
	movl	(%r14), %edi
	movq	%rbx, %rsi
	cmoveq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r12d
	cmpl	$16, %r12d
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%r12,%rbx), %r13d
	movl	%r13d, %edi
	callq	_isprint
	testq	%rax, %rax
	movl	$46, %eax
	cmovel	%eax, %r13d
	movl	(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	incq	%rbx
	cmpq	%r15, %rbx
	jl	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movl	(%r14), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fd_out,4,2                     ## @fd_out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%04x: %s (len=%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"  %04x: "

L_.str.2:                               ## @.str.2
	.asciz	"%02x "

L_.str.3:                               ## @.str.3
	.asciz	"%02x"

L_.str.4:                               ## @.str.4
	.asciz	"   "

L_.str.5:                               ## @.str.5
	.asciz	"  "

L_.str.6:                               ## @.str.6
	.asciz	" "

L_.str.7:                               ## @.str.7
	.asciz	"%c"

L_.str.8:                               ## @.str.8
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_hexdump                    ; -- Begin function log_hexdump
	.p2align	2
_log_hexdump:                           ; @log_hexdump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w4, [sp, #40]                   ; 4-byte Folded Spill
	cbz	w0, LBB0_14
; %bb.1:
	mov	x26, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x27, _fd_out@GOTPAGE
Lloh1:
	ldr	x27, [x27, _fd_out@GOTPAGEOFF]
	ldr	w23, [x27]
	bl	_GetCurrentThreadId
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x26, [sp, #8]
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_fprintf
	cmp	w26, #1
	b.lt	LBB0_13
; %bb.2:
	mov	x22, #0
Lloh4:
	adrp	x28, l_.str.2@PAGE
Lloh5:
	add	x28, x28, l_.str.2@PAGEOFF
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh8:
	adrp	x25, l_.str.4@PAGE
Lloh9:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh10:
	adrp	x19, l_.str.5@PAGE
Lloh11:
	add	x19, x19, l_.str.5@PAGEOFF
	mov	w20, #46
Lloh12:
	adrp	x24, l_.str.7@PAGE
Lloh13:
	add	x24, x24, l_.str.7@PAGEOFF
	str	x26, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
Lloh14:
	adrp	x1, l_.str.8@PAGE
Lloh15:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	ldr	x22, [sp, #56]                  ; 8-byte Folded Reload
	add	x22, x22, #16
	add	x21, x21, #16
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	cmp	w22, w26
Lloh16:
	adrp	x28, l_.str.2@PAGE
Lloh17:
	add	x28, x28, l_.str.2@PAGEOFF
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w0, [x27]
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	add	w8, w22, w8
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	sub	w26, w26, w22
	cmp	w26, #16
	mov	w8, #16
	csel	w8, w26, w8, lt
	cmp	w26, #1
	stp	x8, x22, [sp, #48]              ; 16-byte Folded Spill
	b.lt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w26, [sp, #44]                  ; 4-byte Folded Spill
	mov	x26, x28
	mov	x28, #0
	sxtw	x22, w8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27]
	ldrsb	x8, [x21, x28]
	tst	x28, #0x1
	csel	x1, x23, x26, eq
	str	x8, [sp]
	bl	_fprintf
	add	x28, x28, #1
	cmp	x28, x22
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w28, #15
	ldr	w26, [sp, #44]                  ; 4-byte Folded Reload
	b.ls	LBB0_9
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27]
	tst	w28, #0x1
	csel	x1, x19, x25, eq
	bl	_fprintf
	add	w28, w28, #1
	cmp	w28, #16
	b.ne	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	cmp	w26, #1
	b.lt	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x22, w8
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w26, [x21, x28]
	mov	x0, x26
	bl	_isprint
	cmp	x0, #0
	csel	w8, w20, w26, eq
	ldr	w0, [x27]
	str	x8, [sp]
	mov	x1, x24
	bl	_fprintf
	add	x28, x28, #1
	cmp	x28, x22
	b.lt	LBB0_12
	b	LBB0_3
LBB0_13:
	ldr	w0, [x27]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_fflush
LBB0_14:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_fd_out,4,2                     ; @fd_out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%04x: %s (len=%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"  %04x: "

l_.str.2:                               ; @.str.2
	.asciz	"%02x "

l_.str.3:                               ; @.str.3
	.asciz	"%02x"

l_.str.4:                               ; @.str.4
	.asciz	"   "

l_.str.5:                               ; @.str.5
	.asciz	"  "

l_.str.6:                               ; @.str.6
	.asciz	" "

l_.str.7:                               ; @.str.7
	.asciz	"%c"

l_.str.8:                               ; @.str.8
	.asciz	"\n"

.subsections_via_symbols
