	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_regular                      ## -- Begin function c_regular
	.p2align	4, 0x90
_c_regular:                             ## @c_regular
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rsi, %rbx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	subq	%rdx, %r15
	jge	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_eofmsg
	movq	%r14, %rax
LBB0_2:
	movq	%rax, %r14
	subq	%rax, -104(%rbp)                ## 8-byte Folded Spill
	jge	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_eofmsg
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	_sflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	jne	LBB0_44
LBB0_6:
	xorl	%eax, %eax
	callq	_getpagesize
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ROUNDPAGE
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ROUNDPAGE
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_MIN
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	callq	_remmap
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	xorl	%edi, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r12, %rdx
	callq	_remmap
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	_CAP_MMAP_R@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-132(%rbp), %rdi
	callq	_cap_rights_init
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_caph_rights_limit
	testq	%rax, %rax
	jns	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_12:
	movl	(%rbx), %esi
	leaq	-132(%rbp), %rdi
	callq	_cap_rights_init
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_caph_rights_limit
	testq	%rax, %rax
	jns	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_14:
	xorl	%eax, %eax
	callq	_caph_enter
	testq	%rax, %rax
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jns	LBB0_16
## %bb.15:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_16:
	leaq	-168(%rbp), %rdi
	callq	_sigemptyset
	movq	_SA_NODEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -172(%rbp)
	movq	_segv_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -176(%rbp)
	movq	_SIGSEGV@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-176(%rbp), %rsi
	leaq	-200(%rbp), %rdx
	callq	_sigaction
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_18:
	movq	_MMAP_CHUNK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %esi
	cmpq	$0, -144(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_19
## %bb.20:
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	movslq	%esi, %rcx
	movq	%r14, %rax
	subq	%r12, %rax
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	addq	%rsi, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	subq	-112(%rbp), %rbx                ## 8-byte Folded Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	addq	%rdx, %rbx
	addq	%rcx, %rsi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	addq	%rcx, %rdx
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movl	$1, %r14d
	xorl	%esi, %esi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_21 Depth=1
	movslq	(%r15), %rcx
	addq	%rax, %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movzbl	-64(%rbp), %ecx                 ## 1-byte Folded Reload
LBB0_36:                                ##   in Loop: Header=BB0_21 Depth=1
	movb	%cl, %r13b
	addq	%r13, %r14
	movq	%r12, %rsi
	cmpq	%r12, -144(%rbp)                ## 8-byte Folded Reload
	je	LBB0_37
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rsi), %r12
	movq	%rbx, %r15
	movzbl	(%rbx), %ebx
	movzbl	(%rax), %ecx
	cmpb	%cl, %bl
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_xflag@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movsbl	%bl, %edx
	movsbl	%cl, %ecx
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	movq	_MMAP_CHUNK@GOTPCREL(%rip), %rdi
	movq	%r13, %rax
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_28
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %r13
	movq	_lflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movsbl	%bl, %edx
	movsbl	%cl, %ecx
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_diffmsg
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r13, %rax
	movq	_MMAP_CHUNK@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%r13d, %r13d
	cmpb	$10, %bl
	sete	%cl
	movq	%r15, %rbx
	incq	%rbx
	cmpq	-152(%rbp), %rbx                ## 8-byte Folded Reload
	jne	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	movb	%cl, -64(%rbp)                  ## 1-byte Spill
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movslq	(%rdi), %rax
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	addq	%rax, %rdx
	movq	%rdi, %r15
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	callq	_remmap
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r15), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_munmap
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	movslq	(%r15), %rax
	addq	%rbx, %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%r15, %rdi
	movzbl	-64(%rbp), %ecx                 ## 1-byte Folded Reload
LBB0_32:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rax
	cmpq	-160(%rbp), %rax                ## 8-byte Folded Reload
	jne	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_21 Depth=1
	movb	%cl, -64(%rbp)                  ## 1-byte Spill
	movslq	(%rdi), %rax
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	addq	%rax, %rdx
	movq	%rdi, %r15
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	callq	_remmap
	testq	%rax, %rax
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r15), %esi
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_munmap
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
	movq	-128(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_35
LBB0_37:
	movl	(%rdi), %esi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-184(%rbp), %r15                ## 8-byte Reload
	movq	_SIGSEGV@GOTPCREL(%rip), %r13
	jmp	LBB0_38
LBB0_8:
	movq	_MMAP_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_munmap
LBB0_9:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%r14, %r9
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_c_special                      ## TAILCALL
LBB0_19:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_38:
	movq	%rdi, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_munmap
	movl	(%rbx), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_munmap
	movl	(%r13), %edi
	leaq	-200(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_40:
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	je	LBB0_42
## %bb.41:
	cmovgq	%r14, %r12
	movq	%r12, %rdi
	callq	_eofmsg
LBB0_42:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_44
## %bb.43:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movq	_DIFF_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_sflag,8,3                      ## @sflag
	.comm	_DIFF_EXIT,4,2                  ## @DIFF_EXIT
	.comm	_MMAP_CHUNK,4,2                 ## @MMAP_CHUNK
	.comm	_CAP_MMAP_R,4,2                 ## @CAP_MMAP_R
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to limit rights for %s"

	.comm	_ERR_EXIT,4,2                   ## @ERR_EXIT
L_.str.1:                               ## @.str.1
	.asciz	"unable to enter capability mode"

	.comm	_SA_NODEFER,4,2                 ## @SA_NODEFER
	.comm	_segv_handler,4,2               ## @segv_handler
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
L_.str.2:                               ## @.str.2
	.asciz	"sigaction()"

	.comm	_xflag,8,3                      ## @xflag
L_.str.3:                               ## @.str.3
	.asciz	"%08llx %02x %02x\n"

	.comm	_lflag,8,3                      ## @lflag
L_.str.4:                               ## @.str.4
	.asciz	"%6lld %3o %3o\n"

L_.str.5:                               ## @.str.5
	.asciz	"remmap %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_regular                      ; -- Begin function c_regular
	.p2align	2
_c_regular:                             ; @c_regular
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x19, x7
	mov	x20, x6
	mov	x21, x5
	stp	w4, w0, [sp, #56]               ; 8-byte Folded Spill
	mov	x28, x2
	mov	x22, x1
	subs	x23, x3, x2
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_eofmsg
LBB0_2:
	subs	x27, x19, x20
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_eofmsg
LBB0_4:
Lloh0:
	adrp	x8, _sflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x23, x27, #4, ne
	b.ne	LBB0_43
; %bb.5:
	bl	_getpagesize
	mov	x0, x28
	bl	_ROUNDPAGE
	mov	x25, x0
	mov	x0, x20
	bl	_ROUNDPAGE
	mov	x26, x0
	mov	x0, x23
	mov	x1, x27
	bl	_MIN
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	mov	x0, #0
	ldr	w1, [sp, #60]                   ; 4-byte Folded Reload
	mov	x2, x25
	bl	_remmap
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_33
; %bb.6:
	mov	x0, #0
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	mov	x2, x26
	bl	_remmap
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_32
; %bb.7:
Lloh3:
	adrp	x19, _CAP_MMAP_R@GOTPAGE
Lloh4:
	ldr	x19, [x19, _CAP_MMAP_R@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #92
	bl	_cap_rights_init
	mov	x1, x0
	ldr	w0, [sp, #60]                   ; 4-byte Folded Reload
	bl	_caph_rights_limit
	tbz	x0, #63, LBB0_9
; %bb.8:
	str	x22, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_9:
	ldr	w1, [x19]
	add	x0, sp, #92
	bl	_cap_rights_init
	mov	x1, x0
	ldr	w0, [sp, #56]                   ; 4-byte Folded Reload
	bl	_caph_rights_limit
	tbnz	x0, #63, LBB0_34
; %bb.10:
	bl	_caph_enter
	tbnz	x0, #63, LBB0_35
LBB0_11:
	sub	x8, x29, #96
	add	x0, x8, #8
	bl	_sigemptyset
Lloh7:
	adrp	x8, _SA_NODEFER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SA_NODEFER@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _segv_handler@GOTPAGE
Lloh11:
	ldr	x9, [x9, _segv_handler@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-96]
Lloh13:
	adrp	x19, _SIGSEGV@GOTPAGE
Lloh14:
	ldr	x19, [x19, _SIGSEGV@GOTPAGEOFF]
	ldr	w0, [x19]
	sub	x1, x29, #96
	add	x2, sp, #96
	bl	_sigaction
	cbz	x0, LBB0_13
; %bb.12:
Lloh15:
	adrp	x8, _ERR_EXIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_EXIT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_13:
Lloh20:
	adrp	x24, _MMAP_CHUNK@GOTPAGE
Lloh21:
	ldr	x24, [x24, _MMAP_CHUNK@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_36
; %bb.14:
	stp	x27, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	mov	x22, #0
	str	wzr, [sp, #52]                  ; 4-byte Folded Spill
	sxtw	x8, w1
	sub	x9, x20, x26
	ldp	x11, x10, [sp, #64]             ; 16-byte Folded Reload
	add	x21, x11, x9
	sub	x9, x28, x25
	add	x28, x10, x9
	add	x27, x11, x8
	add	x19, x10, x8
	mov	w20, #1
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	ldrsw	x8, [x24]
	add	x27, x21, x8
	str	x21, [sp, #64]                  ; 8-byte Folded Spill
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x8, x22
	b.eq	LBB0_31
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [x28]
	ldrb	w9, [x21]
	cmp	w23, w9
	b.eq	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh22:
	adrp	x8, _xflag@GOTPAGE
Lloh23:
	ldr	x8, [x8, _xflag@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	sxtb	w2, w23
	sxtb	w3, w9
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x22, #1
Lloh27:
	adrp	x10, _lflag@GOTPAGE
Lloh28:
	ldr	x10, [x10, _lflag@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cbz	x10, LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	sxtb	w2, w23
	sxtb	w3, w9
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x8
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=1
	bl	_printf
	mov	w8, #1
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	w23, #10
	cinc	x20, x20, eq
	add	x28, x28, #1
	cmp	x28, x19
	b.ne	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrsw	x8, [x24]
	add	x25, x25, x8
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #60]                   ; 4-byte Folded Reload
	mov	x2, x25
	bl	_remmap
	mov	x28, x0
	cbnz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w1, [x24]
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	bl	_munmap
Lloh32:
	adrp	x8, _ERR_EXIT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERR_EXIT@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_err
LBB0_26:                                ;   in Loop: Header=BB0_17 Depth=1
	ldrsw	x8, [x24]
	add	x19, x28, x8
	str	x28, [sp, #72]                  ; 8-byte Folded Spill
LBB0_27:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x21, #1
	cmp	x21, x27
	b.ne	LBB0_16
; %bb.28:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrsw	x8, [x24]
	add	x26, x26, x8
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	mov	x2, x26
	bl	_remmap
	mov	x21, x0
	cbnz	x0, LBB0_15
; %bb.29:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w1, [x24]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_munmap
Lloh37:
	adrp	x8, _ERR_EXIT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ERR_EXIT@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_err
	b	LBB0_15
LBB0_30:                                ;   in Loop: Header=BB0_17 Depth=1
	ldp	x0, x1, [sp, #32]               ; 16-byte Folded Reload
	mov	x2, x8
	mov	x3, x20
	bl	_diffmsg
	b	LBB0_23
LBB0_31:
	ldr	w1, [x24]
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x27, x23, [sp, #16]             ; 16-byte Folded Reload
Lloh42:
	adrp	x19, _SIGSEGV@GOTPAGE
Lloh43:
	ldr	x19, [x19, _SIGSEGV@GOTPAGEOFF]
	ldr	w20, [sp, #52]                  ; 4-byte Folded Reload
	b	LBB0_37
LBB0_32:
Lloh44:
	adrp	x8, _MMAP_CHUNK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MMAP_CHUNK@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_munmap
LBB0_33:
	ldp	w3, w0, [sp, #56]               ; 8-byte Folded Reload
	mov	x1, x22
	mov	x2, x28
	mov	x4, x21
	mov	x5, x20
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_c_special
LBB0_34:
	str	x21, [sp]
Lloh47:
	adrp	x1, l_.str@PAGE
Lloh48:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	bl	_caph_enter
	tbz	x0, #63, LBB0_11
LBB0_35:
Lloh49:
	adrp	x8, _ERR_EXIT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ERR_EXIT@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	b	LBB0_11
LBB0_36:
	mov	w20, #0
LBB0_37:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_munmap
	ldr	w1, [x24]
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	bl	_munmap
	ldr	w0, [x19]
	add	x1, sp, #96
	mov	x2, #0
	bl	_sigaction
	cbz	x0, LBB0_39
; %bb.38:
Lloh54:
	adrp	x8, _ERR_EXIT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ERR_EXIT@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x1, l_.str.2@PAGE
Lloh58:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_39:
	cmp	x23, x27
	b.eq	LBB0_41
; %bb.40:
	csel	x0, x21, x22, gt
	bl	_eofmsg
LBB0_41:
	cbnz	w20, LBB0_43
; %bb.42:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_43:
Lloh59:
	adrp	x8, _DIFF_EXIT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _DIFF_EXIT@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_sflag,8,3                      ; @sflag
	.comm	_DIFF_EXIT,4,2                  ; @DIFF_EXIT
	.comm	_MMAP_CHUNK,4,2                 ; @MMAP_CHUNK
	.comm	_CAP_MMAP_R,4,2                 ; @CAP_MMAP_R
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to limit rights for %s"

	.comm	_ERR_EXIT,4,2                   ; @ERR_EXIT
l_.str.1:                               ; @.str.1
	.asciz	"unable to enter capability mode"

	.comm	_SA_NODEFER,4,2                 ; @SA_NODEFER
	.comm	_segv_handler,4,2               ; @segv_handler
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
l_.str.2:                               ; @.str.2
	.asciz	"sigaction()"

	.comm	_xflag,8,3                      ; @xflag
l_.str.3:                               ; @.str.3
	.asciz	"%08llx %02x %02x\n"

	.comm	_lflag,8,3                      ; @lflag
l_.str.4:                               ; @.str.4
	.asciz	"%6lld %3o %3o\n"

l_.str.5:                               ; @.str.5
	.asciz	"remmap %s"

.subsections_via_symbols
