	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	leaq	8(%rsi), %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	cmovneq	%r14, %rbx
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.2:
	testq	%rax, %rax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_buf@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_loadhex
	movl	%eax, %r14d
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_printf
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.3:
	movq	(%r12), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$1, %r14d
	jne	LBB0_4
LBB0_8:
	leaq	L_str.11(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r14d, %r15d
	movl	$1, %ebx
	leaq	L_.str.9(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$44, %edi
	callq	_putchar
	testb	$15, %bl
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$10, %edi
	callq	_putchar
	jmp	LBB0_7
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-i"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"hex2hex: [-i] filename\n"

	.comm	_stdin,4,2                      ## @stdin
	.comm	_buf,8,3                        ## @buf
L_.str.3:                               ## @.str.3
	.asciz	"static int %s_len = %d;\n"

L_.str.4:                               ## @.str.4
	.asciz	"static unsigned char %s[] %s = {\n"

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

L_.str.6:                               ## @.str.6
	.space	1

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

L_str:                                  ## @str
	.asciz	"/*\n *\t Computer generated file. Do not edit.\n */"

L_str.11:                               ## @str.11
	.asciz	"\n};\n"

.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	ldr	x0, [x20, #8]!
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	csel	x8, x20, x19, eq
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_9
; %bb.2:
Lloh2:
	adrp	x8, l_.str.6@PAGE
Lloh3:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh4:
	adrp	x9, l_.str.5@PAGE
Lloh5:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	x0, #0
	csel	x22, x9, x8, eq
Lloh6:
	adrp	x8, _stdin@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x20, _buf@GOTPAGE
Lloh10:
	ldr	x20, [x20, _buf@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_loadhex
	mov	x19, x0
Lloh11:
	adrp	x0, l_str@PAGE
Lloh12:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	stp	x21, x19, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	stp	x21, x22, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.9@PAGE
Lloh18:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	cmp	w19, #1
	b.ne	LBB0_5
LBB0_4:
Lloh19:
	adrp	x0, l_str.11@PAGE
Lloh20:
	add	x0, x0, l_str.11@PAGEOFF
	bl	_puts
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	mov	w21, w19
	mov	w22, #1
Lloh21:
	adrp	x19, l_.str.9@PAGE
Lloh22:
	add	x19, x19, l_.str.9@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	ldr	w8, [x8, x22, lsl #2]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	add	x22, x22, #1
	cmp	x21, x22
	b.eq	LBB0_4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #44
	bl	_putchar
	tst	x22, #0xf
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #10
	bl	_putchar
	b	LBB0_6
LBB0_9:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-i"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"hex2hex: [-i] filename\n"

	.comm	_stdin,4,2                      ; @stdin
	.comm	_buf,8,3                        ; @buf
l_.str.3:                               ; @.str.3
	.asciz	"static int %s_len = %d;\n"

l_.str.4:                               ; @.str.4
	.asciz	"static unsigned char %s[] %s = {\n"

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

l_.str.6:                               ; @.str.6
	.space	1

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

l_str:                                  ; @str
	.asciz	"/*\n *\t Computer generated file. Do not edit.\n */"

l_str.11:                               ; @str.11
	.asciz	"\n};\n"

.subsections_via_symbols
