	.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, %r15d
	movq	_LC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	xorl	%eax, %eax
	callq	_caph_limit_stdio
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_caph_enter
	testq	%rax, %rax
	jns	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_3:
	leaq	L_.str.2(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$97, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$115, %eax
	je	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r15d
	leaq	(%rbx,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	jg	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_usage
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	jne	LBB0_12
## %bb.28:
	movl	$10, %edi
	callq	_putchar
	xorl	%edi, %edi
	callq	_exit
LBB0_12:
	callq	_basename
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_14:
	testq	%r14, %r14
	jne	LBB0_18
## %bb.15:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.16:
	cmpl	$2, %r15d
	jne	LBB0_18
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	movl	$1, %r15d
LBB0_18:
	testq	%r14, %r14
	jne	LBB0_20
## %bb.19:
	movq	%r14, %r13
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	je	LBB0_26
	jmp	LBB0_22
LBB0_20:
	movq	%r14, %r13
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r12
	testl	%r15d, %r15d
	jne	LBB0_22
LBB0_26:
	xorl	%edi, %edi
	callq	_exit
LBB0_22:
	movl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_stripsuffix
	movq	%rbx, %rdi
	callq	_puts
	incq	%r14
	cmpl	%r14d, %r15d
	je	LBB0_26
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdi
	callq	_basename
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdx
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_LC_ALL,4,2                     ## @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

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

L_.str.2:                               ## @.str.2
	.asciz	"as:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
L_.str.4:                               ## @.str.4
	.asciz	"%s"

.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, #96
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _LC_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LC_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_setlocale
	bl	_caph_limit_stdio
	tbnz	x0, #63, LBB0_2
; %bb.1:
	bl	_caph_enter
	tbz	x0, #63, LBB0_3
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_3:
	mov	x19, #0
	mov	w25, #0
Lloh7:
	adrp	x23, _optarg@GOTPAGE
Lloh8:
	ldr	x23, [x23, _optarg@GOTPAGEOFF]
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x19, [x23]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	cmp	w0, #97
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #115
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_usage
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w25, #1
	b	LBB0_5
LBB0_10:
Lloh11:
	adrp	x8, _optind@GOTPAGE
Lloh12:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	sub	w24, w21, w8
	add	x23, x20, x8, lsl #3
	cmp	w24, #0
	b.gt	LBB0_12
; %bb.11:
	bl	_usage
LBB0_12:
	ldr	x0, [x23]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_14
; %bb.13:
	mov	w0, #10
	bl	_putchar
	mov	w0, #0
	bl	_exit
LBB0_14:
	bl	_basename
	cbnz	x0, LBB0_16
; %bb.15:
	ldr	x8, [x23]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	cbnz	x19, LBB0_20
; %bb.17:
	cbnz	w25, LBB0_20
; %bb.18:
	cmp	w24, #2
	b.ne	LBB0_20
; %bb.19:
	ldr	x19, [x23, #8]
	mov	w24, #1
LBB0_20:
	cbnz	x19, LBB0_22
; %bb.21:
	mov	x20, #0
	cbz	w24, LBB0_23
	b	LBB0_24
LBB0_22:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	cbnz	w24, LBB0_24
LBB0_23:
	mov	w0, #0
	bl	_exit
LBB0_24:
Lloh16:
	adrp	x21, l_.str.4@PAGE
Lloh17:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_stripsuffix
	add	x23, x23, #8
	mov	x0, x22
	bl	_puts
	cbz	w24, LBB0_23
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	sub	w24, w24, #1
	ldr	x0, [x23]
	bl	_basename
	mov	x22, x0
	cbnz	x0, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x23]
	str	x8, [sp]
	mov	w0, #1
	mov	x1, x21
	bl	_err
	b	LBB0_25
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LC_ALL,4,2                     ; @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

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

l_.str.2:                               ; @.str.2
	.asciz	"as:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
l_.str.4:                               ; @.str.4
	.asciz	"%s"

.subsections_via_symbols
