	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ktrcapfail                     ## -- Begin function ktrcapfail
	.p2align	4, 0x90
_ktrcapfail:                            ## @ktrcapfail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.6(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	8(%rbx), %rsi
	callq	_sysdecode_cap_rights
	movl	$32, %edi
	callq	_putchar
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	8(%rbx), %rsi
	callq	_sysdecode_cap_rights
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
LBB0_7:
	movl	(%r14), %edi
	addq	$4, %rbx
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.5(%rip), %rdi
	callq	_printf
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	4(%rbx), %rsi
	callq	_sysdecode_cap_rights
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	movl	(%r14), %edi
	addq	$8, %rbx
LBB0_8:
	movq	%rbx, %rsi
	callq	_sysdecode_cap_rights
LBB0_9:
	movl	$10, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_putchar                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"operation requires "

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	", descriptor holds "

L_.str.2:                               ## @.str.2
	.asciz	"attempt to increase capabilities from "

L_.str.3:                               ## @.str.3
	.asciz	" to "

L_.str.4:                               ## @.str.4
	.asciz	"disallowed system call"

L_.str.5:                               ## @.str.5
	.asciz	"restricted VFS lookup"

L_.str.6:                               ## @.str.6
	.asciz	"unknown capability failure: "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ktrcapfail                     ; -- Begin function ktrcapfail
	.p2align	2
_ktrcapfail:                            ; @ktrcapfail
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x0, l_.str.4@PAGE
Lloh3:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	b	LBB0_9
LBB0_3:
Lloh4:
	adrp	x0, l_.str.6@PAGE
Lloh5:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
Lloh6:
	adrp	x20, _stdout@GOTPAGE
Lloh7:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, x19, #8
	bl	_sysdecode_cap_rights
	mov	w0, #32
	bl	_putchar
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh10:
	adrp	x20, _stdout@GOTPAGE
Lloh11:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, x19, #8
	bl	_sysdecode_cap_rights
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_5:
	ldr	w0, [x20]
	add	x1, x19, #4
	b	LBB0_8
LBB0_6:
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh18:
	adrp	x20, _stdout@GOTPAGE
Lloh19:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, x19, #4
	bl	_sysdecode_cap_rights
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	add	x1, x19, #8
LBB0_8:
	bl	_sysdecode_cap_rights
LBB0_9:
	mov	w0, #10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_putchar
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"operation requires "

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	", descriptor holds "

l_.str.2:                               ; @.str.2
	.asciz	"attempt to increase capabilities from "

l_.str.3:                               ; @.str.3
	.asciz	" to "

l_.str.4:                               ; @.str.4
	.asciz	"disallowed system call"

l_.str.5:                               ; @.str.5
	.asciz	"restricted VFS lookup"

l_.str.6:                               ; @.str.6
	.asciz	"unknown capability failure: "

.subsections_via_symbols
