	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movq	%rsi, %r12
	cmpl	$3, %edi
	jg	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_2:
	movq	8(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %rbx
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fseek
	movq	%rbx, %rdi
	callq	_ftell
	movl	%eax, %r15d
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fseek
	movl	%r15d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fread
	movq	%rbx, %rdi
	callq	_fclose
	movq	16(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r12), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.6:
	leaq	L_.str.8(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
LBB0_7:
	leaq	L_.str.10(%rip), %rdi
	movl	$5, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_fclose
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	(%r12), %rdx
	movq	8(%r12), %rcx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	L_.str.3(%rip), %rdi
	movl	$32, %esi
	movl	$1, %edx
	callq	_fwrite
	movq	%rbx, %rdi
	callq	_fclose
	jmp	LBB0_11
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	(%r12), %rdx
	movq	8(%r12), %rcx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r14, %rdi
	callq	_free
LBB0_11:
	movl	$-1, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	decq	%r13
	movl	$1, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	1(%rax,%r15), %edx
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%r15
	incl	%r14d
	cmpq	%r15, %r13
	je	LBB0_7
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %eax
	movl	$3123612579, %ecx               ## imm = 0xBA2E8BA3
	imulq	%rcx, %rax
	shrq	$35, %rax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,2), %r12d
	decl	%r12d
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rcx
	callq	_fwrite
	cmpl	%r15d, %r12d
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rcx
	callq	_fwrite
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s binary_file output_file array_name\n"

L_.str.1:                               ## @.str.1
	.asciz	"rb"

L_.str.2:                               ## @.str.2
	.asciz	"%s: can't open %s for reading\n"

	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.3:                               ## @.str.3
	.asciz	"Unable to malloc bin2c.c buffer\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"%s: can't open %s for writing\n"

L_.str.6:                               ## @.str.6
	.asciz	"const char %s[%u] = {"

L_.str.7:                               ## @.str.7
	.asciz	", "

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

L_.str.9:                               ## @.str.9
	.asciz	"0x%.2x"

L_.str.10:                              ## @.str.10
	.asciz	"\n};\n\n"

L_.str.11:                              ## @.str.11
	.asciz	"const int %s_length = %u;\n"

	.comm	_BZ_OK,4,2                      ## @BZ_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	x22, x1
	cmp	w0, #3
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldrsw	x0, [x8]
	ldr	x8, [x22]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_2:
	ldr	x0, [x22, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
Lloh7:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	mov	x0, x21
	bl	_ftell
	mov	x20, x0
Lloh10:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_fseek
	mov	x0, x20
	bl	_malloc
	cbz	x0, LBB0_12
; %bb.4:
	mov	x19, x0
	mov	x1, x20
	mov	w2, #1
	mov	x3, x21
	bl	_fread
	mov	x0, x21
	bl	_fclose
	ldr	x0, [x22, #16]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_13
; %bb.5:
	mov	x21, x0
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x9, [x22, #24]
	mov	x8, x20
	stp	x9, x8, [sp]
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	cbz	w20, LBB0_7
; %bb.6:
Lloh17:
	adrp	x0, l_.str.8@PAGE
Lloh18:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x21
	bl	_fwrite
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldrb	w8, [x8]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.9@PAGE
Lloh20:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.ne	LBB0_14
LBB0_7:
Lloh21:
	adrp	x0, l_.str.10@PAGE
Lloh22:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	w1, #5
	mov	w2, #1
	mov	x3, x21
	bl	_fwrite
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
Lloh23:
	adrp	x1, l_.str.11@PAGE
Lloh24:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	mov	x0, x21
	bl	_fclose
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_free
	mov	w0, #0
	b	LBB0_11
LBB0_8:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldrsw	x0, [x8]
	ldp	x8, x9, [x22]
	stp	x8, x9, [sp]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	bl	_fprintf
LBB0_10:
	mov	w0, #-1
LBB0_11:
	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
LBB0_12:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldrsw	x3, [x8]
Lloh33:
	adrp	x0, l_.str.3@PAGE
Lloh34:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #32
	mov	w2, #1
	bl	_fwrite
	mov	x0, x21
	bl	_fclose
	b	LBB0_10
LBB0_13:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldrsw	x0, [x8]
	ldp	x8, x9, [x22]
	stp	x8, x9, [sp]
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	mov	x0, x19
	bl	_free
	b	LBB0_10
LBB0_14:
	ldp	x8, x9, [sp, #32]               ; 16-byte Folded Reload
	mov	w8, w8
	add	x26, x9, #1
	sub	x27, x8, #1
	mov	w28, #-1
	mov	w25, #1
	mov	w23, #35747
	movk	w23, #47662, lsl #16
	mov	w19, #11
Lloh40:
	adrp	x22, l_.str.7@PAGE
Lloh41:
	add	x22, x22, l_.str.7@PAGEOFF
Lloh42:
	adrp	x24, l_.str.9@PAGE
Lloh43:
	add	x24, x24, l_.str.9@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w8, [x26], #1
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x24
	bl	_fprintf
	sub	w28, w28, #1
	add	w25, w25, #1
	subs	x27, x27, #1
	b.eq	LBB0_7
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	umull	x8, w25, w23
	lsr	x8, x8, #35
	madd	w20, w8, w19, w28
	mov	x0, x22
	mov	w1, #2
	mov	w2, #1
	mov	x3, x21
	bl	_fwrite
	cbnz	w20, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh44:
	adrp	x0, l_.str.8@PAGE
Lloh45:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x21
	bl	_fwrite
	b	LBB0_15
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s binary_file output_file array_name\n"

l_.str.1:                               ; @.str.1
	.asciz	"rb"

l_.str.2:                               ; @.str.2
	.asciz	"%s: can't open %s for reading\n"

	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.3:                               ; @.str.3
	.asciz	"Unable to malloc bin2c.c buffer\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"%s: can't open %s for writing\n"

l_.str.6:                               ; @.str.6
	.asciz	"const char %s[%u] = {"

l_.str.7:                               ; @.str.7
	.asciz	", "

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

l_.str.9:                               ; @.str.9
	.asciz	"0x%.2x"

l_.str.10:                              ; @.str.10
	.asciz	"\n};\n\n"

l_.str.11:                              ; @.str.11
	.asciz	"const int %s_length = %u;\n"

	.comm	_BZ_OK,4,2                      ; @BZ_OK
.subsections_via_symbols
