	.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, %rbx
	movl	%edi, %r12d
	movl	$10, -48(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str(%rip), %r13
	movq	_optarg@GOTPCREL(%rip), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_getopt
	cmpl	$114, %eax
	jg	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$110, %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$115, %eax
	je	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$120, %eax
	jne	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$16, -48(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_10:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	subl	%r14d, %r12d
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.11:
	movq	(%rbx,%r14,8), %rdi
	callq	_puts
LBB0_12:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_13
LBB0_27:
	movl	$10, %edi
	callq	_putchar
	cmpl	$2, %r12d
	jl	LBB0_29
## %bb.28:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rax,%rcx,8), %rdi
	callq	_puts
LBB0_29:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	addl	%eax, %r13d
	incl	%r14d
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_27
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$44, %edi
	callq	_putchar
	incl	%r13d
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%r15d, %r15d
	setle	%al
	setne	%cl
	cmpl	$71, %r13d
	setl	%dl
	orb	%cl, %dl
	cmpl	%r15d, %r14d
	setl	%cl
	cmpb	$1, %dl
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	orb	%cl, %al
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	testl	%r14d, %r14d
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$32, %edi
	callq	_putchar
	incl	%r13d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$10, %edi
	callq	_putchar
	xorl	%r13d, %r13d
	movl	$0, %r14d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$9, %edi
	callq	_putchar
	addl	$8, %r13d
	xorl	%r14d, %r14d
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	L_.str.2(%rip), %rdi
	cmpl	$10, -48(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$16, -48(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_26
LBB0_30:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"n:sx"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_EOF,4,2                        ## @EOF
L_.str.2:                               ## @.str.2
	.asciz	"%d"

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

.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x21, x0
	mov	w19, #0
	mov	w23, #0
	mov	w24, #10
Lloh0:
	adrp	x25, _optarg@GOTPAGE
Lloh1:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	cmp	w0, #114
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #110
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	mov	x19, x0
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #115
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #120
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, #16
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #1
	b	LBB0_2
LBB0_10:
Lloh4:
	adrp	x8, _optind@GOTPAGE
Lloh5:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	sub	w22, w21, w8
	add	x20, x20, x8, lsl #3
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.11:
	ldr	x0, [x20]
	bl	_puts
LBB0_12:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	bl	_getchar
Lloh7:
	adrp	x25, _EOF@GOTPAGE
Lloh8:
	ldr	x25, [x25, _EOF@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_16
LBB0_13:
	mov	w0, #10
	bl	_putchar
	cmp	w22, #2
	b.lt	LBB0_15
; %bb.14:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x0, [x8, #8]
	bl	_puts
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	mov	x20, x0
	mov	w28, #0
	mov	w21, #0
Lloh9:
	adrp	x26, l_.str.2@PAGE
Lloh10:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh11:
	adrp	x27, l_.str.3@PAGE
Lloh12:
	add	x27, x27, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	str	x20, [sp]
	bl	_printf
	add	w28, w0, w28
	add	w21, w21, #1
	bl	_getchar
	mov	x20, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_13
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #44
	bl	_putchar
	add	w28, w28, #1
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	w19, #1
	ccmp	w21, w19, #8, ge
	cset	w8, lt
	cmp	w28, #71
	ccmp	w19, #0, #0, ge
	b.eq	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	cbz	w8, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	cbz	w23, LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	cbz	w21, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #32
	bl	_putchar
	add	w28, w28, #1
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #10
	bl	_putchar
	mov	w28, #0
	mov	w21, #0
	cbz	w23, LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #9
	bl	_putchar
	mov	w21, #0
	add	w28, w28, #8
LBB0_27:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x26
	cmp	w24, #10
	b.eq	LBB0_17
; %bb.28:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w24, #16
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x27
	b	LBB0_17
LBB0_30:
	bl	_abort
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"n:sx"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_EOF,4,2                        ; @EOF
l_.str.2:                               ; @.str.2
	.asciz	"%d"

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

.subsections_via_symbols
