	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_hex_printable
_dump_hex_printable:                    ## @dump_hex_printable
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	leaq	-128(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	$32, %esi
	movl	$68, %edx
	callq	_memset
	cmpq	$16, %rbx
	movl	$16, %eax
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	cmovbq	%rbx, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	leaq	_dump_hex_printable.s_xdig(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r15,4), %ebx
	movl	%ebx, %eax
	sarl	$4, %eax
	cltq
	movzbl	(%rax,%r13), %eax
	movb	%al, (%r12)
	movl	%ebx, %eax
	andl	$15, %eax
	movzbl	(%rax,%r13), %eax
	movb	%al, 1(%r12)
	leaq	3(%r12), %rax
	addq	$4, %r12
	leaq	-104(%rbp), %rcx
	cmpq	%rcx, %rax
	cmovneq	%rax, %r12
	movl	%ebx, %edi
	callq	_isprint
	testq	%rax, %rax
	movl	$46, %eax
	cmovel	%eax, %ebx
	movb	%bl, -78(%rbp,%r15)
	incq	%r15
	addq	$-4, %r14
	cmpl	%r15d, -136(%rbp)               ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movw	$10, -78(%rbp,%r15)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-128(%rbp), %r12
	movq	%r12, %rdi
	callq	_fputs
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	subq	%r14, %rdi
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	subq	-136(%rbp), %rbx                ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @dump_hex_printable.s_xdig
_dump_hex_printable.s_xdig:
	.ascii	"0123456789ABCDEF"

	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_dump_hex_printable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_hex_printable
_dump_hex_printable:                    ; @dump_hex_printable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x8, sp, #20
	add	x22, x8, #24
	add	x8, x8, #51
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w25, #46
Lloh3:
	adrp	x28, _dump_hex_printable.s_xdig@PAGE
Lloh4:
	add	x28, x28, _dump_hex_printable.s_xdig@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	add	x24, sp, #20
	add	x0, sp, #20
	mov	w1, #32
	mov	w2, #68
	bl	_memset
	cmp	x19, #16
	mov	w8, #16
	csel	x26, x19, x8, lo
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	mov	x27, x26
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w21, [x20], #4
	asr	w8, w21, #4
	ldrb	w8, [x28, w8, sxtw]
	and	x9, x21, #0xf
	ldrb	w9, [x28, x9]
	strb	w8, [x24]
	strb	w9, [x24, #1]
	add	x8, x24, #3
	add	x9, x24, #4
	cmp	x8, x22
	csel	x24, x9, x8, eq
	mov	x0, x21
	bl	_isprint
	cmp	x0, #0
	csel	w8, w25, w21, eq
	sturb	w8, [x23, #-1]
	add	x23, x23, #1
	subs	w27, w27, #1
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x19, x19, x26
	mov	w8, #10
	sturh	w8, [x23, #-1]
Lloh5:
	adrp	x8, _stdout@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #20
	bl	_fputs
	cbnz	x19, LBB0_2
LBB0_5:
	ldr	x8, [sp, #88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_dump_hex_printable.s_xdig:             ; @dump_hex_printable.s_xdig
	.ascii	"0123456789ABCDEF"

	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_dump_hex_printable
.subsections_via_symbols
