	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function export_hex_data
_export_hex_data:                       ## @export_hex_data
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movq	%rsi, %r12
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %esi
	callq	_export_hex_data_type
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	leal	-1(%r13), %r14d
	leal	(%r13,%r13,2), %edi
	callq	_heap_xalloc
	movq	%rax, (%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	leaq	_export_hex_data.fmt(%rip), %rsi
	movq	%rax, %rdi
	callq	_sprintfW
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.2:
	movslq	%r14d, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %r14
	addl	%r15d, %ebx
	decq	%r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%r13), %rcx
	movq	(%r12), %rdx
	movb	$44, (%rdx,%rcx)
	movq	(%r12), %rdx
	movb	$0, 1(%rdx,%rcx)
	addl	$3, %ebx
	movq	_MAX_HEX_CHARS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r13
	incq	%r13
	cmpq	%r15, %r14
	jne	LBB0_7
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rsi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_write_file
	movl	%ebx, %edi
	leaq	_export_hex_data.hex_concat(%rip), %rsi
	callq	_write_file
	movl	$2, %ebx
	xorl	%r13d, %r13d
	cmpq	%r15, %r14
	je	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	(%r12), %rdi
	addq	%r13, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %edx
	leaq	_export_hex_data.fmt(%rip), %rsi
	callq	_sprintfW
	cmpq	%r15, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_3
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_export_hex_data.fmt:                   ## @export_hex_data.fmt
	.asciz	"%02x"

_export_hex_data.hex_concat:            ## @export_hex_data.hex_concat
	.asciz	"\\\r\n  "

	.comm	_MAX_HEX_CHARS,4,2              ## @MAX_HEX_CHARS
	.no_dead_strip	_export_hex_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function export_hex_data
_export_hex_data:                       ; @export_hex_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	mov	x1, x2
	bl	_export_hex_data_type
	cbz	w23, LBB0_7
; %bb.1:
	mov	x24, x0
	sub	w25, w23, #1
	add	w0, w23, w23, lsl #1
	bl	_heap_xalloc
	str	x0, [x19]
	ldr	w2, [x21]
Lloh0:
	adrp	x1, _export_hex_data.fmt@PAGE
Lloh1:
	add	x1, x1, _export_hex_data.fmt@PAGEOFF
	bl	_sprintfW
	cbz	w25, LBB0_7
; %bb.2:
	mov	x26, #0
	sxtw	x25, w25
	sxtw	x8, w23
	add	w22, w24, w22
	add	x23, x21, #4
	sub	x24, x8, #1
	mov	w27, #44
Lloh2:
	adrp	x28, _MAX_HEX_CHARS@GOTPAGE
Lloh3:
	ldr	x28, [x28, _MAX_HEX_CHARS@GOTPAGEOFF]
Lloh4:
	adrp	x21, _export_hex_data.fmt@PAGE
Lloh5:
	add	x21, x21, _export_hex_data.fmt@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x26
	ldr	x9, [x19]
	add	x26, x8, #1
	strb	w27, [x9, x8]
	ldr	x8, [x19]
	strb	wzr, [x8, x26]
	add	w22, w22, #3
	ldr	w8, [x28]
	cmp	w22, w8
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x19]
	mov	x0, x20
	bl	_write_file
	mov	x0, x20
Lloh6:
	adrp	x1, _export_hex_data.hex_concat@PAGE
Lloh7:
	add	x1, x1, _export_hex_data.hex_concat@PAGEOFF
	bl	_write_file
	mov	x26, #0
	mov	w22, #2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	add	x0, x8, x26
	ldr	w2, [x23], #4
	mov	x1, x21
	bl	_sprintfW
	sub	x24, x24, #1
	sub	x25, x25, #1
	cbnz	x25, LBB0_3
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_export_hex_data.fmt:                   ; @export_hex_data.fmt
	.asciz	"%02x"

_export_hex_data.hex_concat:            ; @export_hex_data.hex_concat
	.asciz	"\\\r\n  "

	.comm	_MAX_HEX_CHARS,4,2              ; @MAX_HEX_CHARS
	.no_dead_strip	_export_hex_data
.subsections_via_symbols
