	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	%rsi, -32(%rbp)
	movq	_LC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	movq	(%rbx), %rdi
	movl	$111, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	leaq	-32(%rbp), %rsi
	movl	%r14d, %edi
	callq	_oldsyntax
	jmp	LBB0_4
LBB0_2:
	leaq	-32(%rbp), %rsi
	movl	%r14d, %edi
	callq	_newsyntax
LBB0_4:
	movq	_blocksize@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_fshead@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_11:
	xorl	%eax, %eax
	callq	_caph_cache_catpages
	xorl	%eax, %eax
	callq	_caph_limit_stdio
	testq	%rax, %rax
	jns	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movq	-32(%rbp), %rdi
	callq	_next
	xorl	%eax, %eax
	callq	_display
	movq	_exitval@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_size
	movq	%rax, (%rbx)
	cmpq	%rax, (%r14)
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_8:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_rewrite
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_11
	.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	"od"

	.comm	_blocksize,8,3                  ## @blocksize
	.comm	_fshead,8,3                     ## @fshead
L_.str.2:                               ## @.str.2
	.asciz	"capsicum"

	.comm	_exitval,4,2                    ## @exitval
.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
	mov	x19, x0
	str	x1, [sp, #8]
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
	ldr	x0, [x20]
	mov	w1, #111
	bl	_strrchr
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_oldsyntax
	b	LBB0_4
LBB0_3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_newsyntax
LBB0_4:
Lloh7:
	adrp	x20, _blocksize@GOTPAGE
Lloh8:
	ldr	x20, [x20, _blocksize@GOTPAGEOFF]
	str	xzr, [x20]
Lloh9:
	adrp	x21, _fshead@GOTPAGE
Lloh10:
	ldr	x21, [x21, _fshead@GOTPAGEOFF]
	ldr	x19, [x21]
	cbnz	x19, LBB0_6
	b	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_size
	str	x0, [x19]
	ldr	x8, [x20]
	cmp	x8, x0
	b.ge	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [x20]
	b	LBB0_5
LBB0_8:
	ldr	x19, [x21]
	cbz	x19, LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rewrite
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_9
LBB0_10:
	bl	_caph_cache_catpages
	bl	_caph_limit_stdio
	tbz	x0, #63, LBB0_12
; %bb.11:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_12:
	ldr	x0, [sp, #8]
	bl	_next
	bl	_display
Lloh13:
	adrp	x8, _exitval@GOTPAGE
Lloh14:
	ldr	x8, [x8, _exitval@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.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	"od"

	.comm	_blocksize,8,3                  ; @blocksize
	.comm	_fshead,8,3                     ; @fshead
l_.str.2:                               ; @.str.2
	.asciz	"capsicum"

	.comm	_exitval,4,2                    ; @exitval
.subsections_via_symbols
