	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_capabilities              ## -- Begin function test_capabilities
	.p2align	4, 0x90
_test_capabilities:                     ## @test_capabilities
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PASSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movups	L___const.test_capabilities.dir+9(%rip), %xmm0
	movups	%xmm0, -71(%rbp)
	movaps	L___const.test_capabilities.dir(%rip), %xmm1
	movaps	%xmm1, -80(%rbp)
	movups	%xmm0, -103(%rbp)
	movaps	%xmm1, -112(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_mkstemp
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_2:
	leaq	-112(%rbp), %rdi
	callq	_mkdtemp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	-80(%rbp), %rdi
	callq	_unlink
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_4:
	movq	_O_RDONLY@GOTPCREL(%rip), %r15
	movq	_O_DIRECTORY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	(%r15), %esi
	leaq	-112(%rbp), %rdi
	callq	_open
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	leaq	-80(%rbp), %rdi
	callq	_unlink
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	-112(%rbp), %rdi
	callq	_rmdir
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_6:
	movl	(%rbx), %esi
	orl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_open
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	leaq	-80(%rbp), %rdi
	callq	_unlink
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	-112(%rbp), %rdi
	callq	_rmdir
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_8:
	xorl	%eax, %eax
	callq	_cap_enter
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	leaq	-80(%rbp), %rdi
	callq	_unlink
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	-112(%rbp), %rdi
	callq	_rmdir
	movl	%eax, %edi
	callq	_KEEP_ERRNO
	leaq	L_.str.4(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_10:
	movq	_CAP_READ@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_TRY
	movq	_CAP_WRITE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_TRY
	movq	_CAP_SEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_PREAD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_TRY
	movq	_CAP_PWRITE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_TRY
	movl	(%r13), %edi
	orl	(%r12), %edi
	callq	_TRY
	movl	(%r14), %edi
	orl	(%rbx), %edi
	callq	_TRY
	movq	_CAP_MMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_W@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_WX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MMAP_RWX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_CREATE@GOTPCREL(%rip), %r14
	movl	(%r12), %edi
	orl	(%r14), %edi
	movq	_CAP_LOOKUP@GOTPCREL(%rip), %r15
	orl	(%r15), %edi
	callq	_TRY
	movl	(%r13), %edi
	orl	(%r14), %edi
	orl	(%r15), %edi
	callq	_TRY
	movl	(%r12), %edi
	orl	(%r14), %edi
	orl	(%r13), %edi
	orl	(%r15), %edi
	callq	_TRY
	movq	_CAP_FSYNC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_TRY
	movl	(%r12), %edi
	orl	(%rbx), %edi
	orl	(%r15), %edi
	callq	_TRY
	movl	(%r13), %edi
	orl	(%rbx), %edi
	orl	(%r15), %edi
	callq	_TRY
	movl	(%r12), %edi
	orl	(%rbx), %edi
	orl	(%r13), %edi
	orl	(%r15), %edi
	callq	_TRY
	movq	_CAP_FTRUNCATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_TRY
	movl	(%r12), %edi
	orl	(%rbx), %edi
	orl	(%r15), %edi
	callq	_TRY
	movl	(%r13), %edi
	orl	(%rbx), %edi
	orl	(%r15), %edi
	callq	_TRY
	movl	(%r12), %edi
	orl	(%rbx), %edi
	orl	(%r13), %edi
	orl	(%r15), %edi
	callq	_TRY
	movq	_CAP_FCHFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_FCHOWN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_TRY
	movl	(%r15), %edi
	orl	(%rbx), %edi
	callq	_TRY
	movq	_CAP_FCHMOD@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_FCNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_FPATHCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_FSTAT@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_FSTATFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRY
	movq	_CAP_FUTIMES@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_LINKAT@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MKDIRAT@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MKFIFOAT@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_MKNODAT@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_SYMLINKAT@GOTPCREL(%rip), %rax
	movl	(%r15), %edi
	orl	(%rax), %edi
	callq	_TRY
	movq	_CAP_UNLINKAT@GOTPCREL(%rip), %rbx
	movl	(%r15), %edi
	orl	(%rbx), %edi
	callq	_TRY
	movq	_CAP_RENAMEAT@GOTPCREL(%rip), %rax
	movl	(%rbx), %edi
	orl	(%rax), %edi
	orl	(%r15), %edi
	callq	_TRY
	leaq	L_.str.5(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rsi
	addq	$-80, %rsi
	movl	-120(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_unlinkat
	movq	%r14, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rsi
	addq	$-112, %rsi
	movq	_AT_REMOVEDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_unlinkat
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	-116(%rbp), %eax                ## 4-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PASSED,4,2                     ## @PASSED
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.test_capabilities.dir
L___const.test_capabilities.dir:
	.asciz	"/tmp/cap_test.XXXXXXXXXX"

L_.str:                                 ## @.str
	.asciz	"mkstemp"

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

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_DIRECTORY,4,2                ## @O_DIRECTORY
L_.str.2:                               ## @.str.2
	.asciz	"open"

L_.str.3:                               ## @.str.3
	.asciz	"/tmp"

L_.str.4:                               ## @.str.4
	.asciz	"cap_enter"

	.comm	_CAP_READ,4,2                   ## @CAP_READ
	.comm	_CAP_WRITE,4,2                  ## @CAP_WRITE
	.comm	_CAP_SEEK,4,2                   ## @CAP_SEEK
	.comm	_CAP_PREAD,4,2                  ## @CAP_PREAD
	.comm	_CAP_PWRITE,4,2                 ## @CAP_PWRITE
	.comm	_CAP_MMAP,4,2                   ## @CAP_MMAP
	.comm	_CAP_MMAP_R,4,2                 ## @CAP_MMAP_R
	.comm	_CAP_MMAP_W,4,2                 ## @CAP_MMAP_W
	.comm	_CAP_MMAP_X,4,2                 ## @CAP_MMAP_X
	.comm	_CAP_MMAP_RW,4,2                ## @CAP_MMAP_RW
	.comm	_CAP_MMAP_RX,4,2                ## @CAP_MMAP_RX
	.comm	_CAP_MMAP_WX,4,2                ## @CAP_MMAP_WX
	.comm	_CAP_MMAP_RWX,4,2               ## @CAP_MMAP_RWX
	.comm	_CAP_CREATE,4,2                 ## @CAP_CREATE
	.comm	_CAP_LOOKUP,4,2                 ## @CAP_LOOKUP
	.comm	_CAP_FSYNC,4,2                  ## @CAP_FSYNC
	.comm	_CAP_FTRUNCATE,4,2              ## @CAP_FTRUNCATE
	.comm	_CAP_FCHFLAGS,4,2               ## @CAP_FCHFLAGS
	.comm	_CAP_FCHOWN,4,2                 ## @CAP_FCHOWN
	.comm	_CAP_FCHMOD,4,2                 ## @CAP_FCHMOD
	.comm	_CAP_FCNTL,4,2                  ## @CAP_FCNTL
	.comm	_CAP_FPATHCONF,4,2              ## @CAP_FPATHCONF
	.comm	_CAP_FSTAT,4,2                  ## @CAP_FSTAT
	.comm	_CAP_FSTATFS,4,2                ## @CAP_FSTATFS
	.comm	_CAP_FUTIMES,4,2                ## @CAP_FUTIMES
	.comm	_CAP_LINKAT,4,2                 ## @CAP_LINKAT
	.comm	_CAP_MKDIRAT,4,2                ## @CAP_MKDIRAT
	.comm	_CAP_MKFIFOAT,4,2               ## @CAP_MKFIFOAT
	.comm	_CAP_MKNODAT,4,2                ## @CAP_MKNODAT
	.comm	_CAP_SYMLINKAT,4,2              ## @CAP_SYMLINKAT
	.comm	_CAP_UNLINKAT,4,2               ## @CAP_UNLINKAT
	.comm	_CAP_RENAMEAT,4,2               ## @CAP_RENAMEAT
L_.str.5:                               ## @.str.5
	.asciz	"/tmp/"

	.comm	_AT_REMOVEDIR,4,2               ## @AT_REMOVEDIR
	.comm	_CAP_ACCEPT,4,2                 ## @CAP_ACCEPT
	.comm	_CAP_ACL_CHECK,4,2              ## @CAP_ACL_CHECK
	.comm	_CAP_ACL_DELETE,4,2             ## @CAP_ACL_DELETE
	.comm	_CAP_ACL_GET,4,2                ## @CAP_ACL_GET
	.comm	_CAP_ACL_SET,4,2                ## @CAP_ACL_SET
	.comm	_CAP_BIND,4,2                   ## @CAP_BIND
	.comm	_CAP_CONNECT,4,2                ## @CAP_CONNECT
	.comm	_CAP_EVENT,4,2                  ## @CAP_EVENT
	.comm	_CAP_EXTATTR_DELETE,4,2         ## @CAP_EXTATTR_DELETE
	.comm	_CAP_EXTATTR_GET,4,2            ## @CAP_EXTATTR_GET
	.comm	_CAP_EXTATTR_LIST,4,2           ## @CAP_EXTATTR_LIST
	.comm	_CAP_EXTATTR_SET,4,2            ## @CAP_EXTATTR_SET
	.comm	_CAP_FCHDIR,4,2                 ## @CAP_FCHDIR
	.comm	_CAP_FEXECVE,4,2                ## @CAP_FEXECVE
	.comm	_CAP_FLOCK,4,2                  ## @CAP_FLOCK
	.comm	_CAP_FSCK,4,2                   ## @CAP_FSCK
	.comm	_CAP_GETPEERNAME,4,2            ## @CAP_GETPEERNAME
	.comm	_CAP_GETSOCKNAME,4,2            ## @CAP_GETSOCKNAME
	.comm	_CAP_GETSOCKOPT,4,2             ## @CAP_GETSOCKOPT
	.comm	_CAP_IOCTL,4,2                  ## @CAP_IOCTL
	.comm	_CAP_LISTEN,4,2                 ## @CAP_LISTEN
	.comm	_CAP_MAC_GET,4,2                ## @CAP_MAC_GET
	.comm	_CAP_MAC_SET,4,2                ## @CAP_MAC_SET
	.comm	_CAP_PDGETPID,4,2               ## @CAP_PDGETPID
	.comm	_CAP_PDKILL,4,2                 ## @CAP_PDKILL
	.comm	_CAP_PDWAIT,4,2                 ## @CAP_PDWAIT
	.comm	_CAP_PEELOFF,4,2                ## @CAP_PEELOFF
	.comm	_CAP_POST_EVENT,4,2             ## @CAP_POST_EVENT
	.comm	_CAP_RECV,4,2                   ## @CAP_RECV
	.comm	_CAP_SEM_GETVALUE,4,2           ## @CAP_SEM_GETVALUE
	.comm	_CAP_SEM_POST,4,2               ## @CAP_SEM_POST
	.comm	_CAP_SEM_WAIT,4,2               ## @CAP_SEM_WAIT
	.comm	_CAP_SEND,4,2                   ## @CAP_SEND
	.comm	_CAP_SETSOCKOPT,4,2             ## @CAP_SETSOCKOPT
	.comm	_CAP_SHUTDOWN,4,2               ## @CAP_SHUTDOWN
	.comm	_CAP_TTYHOOK,4,2                ## @CAP_TTYHOOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_capabilities              ; -- Begin function test_capabilities
	.p2align	2
_test_capabilities:                     ; @test_capabilities
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _PASSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PASSED@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x8, l___const.test_capabilities.dir@PAGE
Lloh7:
	add	x8, x8, l___const.test_capabilities.dir@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldur	q1, [x8, #9]
	stur	q1, [sp, #41]
	str	q0, [sp]
	stur	q1, [sp, #9]
	add	x0, sp, #32
	bl	_mkstemp
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_2:
	mov	x0, sp
	bl	_mkdtemp
	cbnz	x0, LBB0_4
; %bb.3:
	add	x0, sp, #32
	bl	_unlink
	bl	_KEEP_ERRNO
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_4:
Lloh12:
	adrp	x20, _O_RDONLY@GOTPAGE
Lloh13:
	ldr	x20, [x20, _O_RDONLY@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh14:
	adrp	x21, _O_DIRECTORY@GOTPAGE
Lloh15:
	ldr	x21, [x21, _O_DIRECTORY@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, sp
	bl	_open
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
	add	x0, sp, #32
	bl	_unlink
	bl	_KEEP_ERRNO
	mov	x0, sp
	bl	_rmdir
	bl	_KEEP_ERRNO
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_6:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w1, w9, w8
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_open
	mov	x20, x0
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
	add	x0, sp, #32
	bl	_unlink
	bl	_KEEP_ERRNO
	mov	x0, sp
	bl	_rmdir
	bl	_KEEP_ERRNO
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_8:
	bl	_cap_enter
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
	add	x0, sp, #32
	bl	_unlink
	bl	_KEEP_ERRNO
	mov	x0, sp
	bl	_rmdir
	bl	_KEEP_ERRNO
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_10:
Lloh24:
	adrp	x22, _CAP_READ@GOTPAGE
Lloh25:
	ldr	x22, [x22, _CAP_READ@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_TRY
Lloh26:
	adrp	x23, _CAP_WRITE@GOTPAGE
Lloh27:
	ldr	x23, [x23, _CAP_WRITE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_TRY
Lloh28:
	adrp	x8, _CAP_SEEK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CAP_SEEK@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_TRY
Lloh31:
	adrp	x21, _CAP_PREAD@GOTPAGE
Lloh32:
	ldr	x21, [x21, _CAP_PREAD@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_TRY
Lloh33:
	adrp	x24, _CAP_PWRITE@GOTPAGE
Lloh34:
	ldr	x24, [x24, _CAP_PWRITE@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_TRY
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w0, w9, w8
	bl	_TRY
	ldr	w8, [x21]
	ldr	w9, [x24]
	orr	w0, w9, w8
	bl	_TRY
Lloh35:
	adrp	x8, _CAP_MMAP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CAP_MMAP@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_TRY
Lloh38:
	adrp	x8, _CAP_MMAP_R@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CAP_MMAP_R@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_TRY
Lloh41:
	adrp	x8, _CAP_MMAP_W@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CAP_MMAP_W@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_TRY
Lloh44:
	adrp	x8, _CAP_MMAP_X@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CAP_MMAP_X@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_TRY
Lloh47:
	adrp	x8, _CAP_MMAP_RW@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CAP_MMAP_RW@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_TRY
Lloh50:
	adrp	x8, _CAP_MMAP_RX@GOTPAGE
Lloh51:
	ldr	x8, [x8, _CAP_MMAP_RX@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_TRY
Lloh53:
	adrp	x8, _CAP_MMAP_WX@GOTPAGE
Lloh54:
	ldr	x8, [x8, _CAP_MMAP_WX@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_TRY
Lloh56:
	adrp	x8, _CAP_MMAP_RWX@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CAP_MMAP_RWX@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_TRY
Lloh59:
	adrp	x24, _CAP_CREATE@GOTPAGE
Lloh60:
	ldr	x24, [x24, _CAP_CREATE@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh61:
	adrp	x21, _CAP_LOOKUP@GOTPAGE
Lloh62:
	ldr	x21, [x21, _CAP_LOOKUP@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
Lloh63:
	adrp	x24, _CAP_FSYNC@GOTPAGE
Lloh64:
	ldr	x24, [x24, _CAP_FSYNC@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
Lloh65:
	adrp	x24, _CAP_FTRUNCATE@GOTPAGE
Lloh66:
	ldr	x24, [x24, _CAP_FTRUNCATE@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
	ldr	w8, [x24]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
Lloh67:
	adrp	x8, _CAP_FCHFLAGS@GOTPAGE
Lloh68:
	ldr	x8, [x8, _CAP_FCHFLAGS@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
	bl	_TRY
Lloh70:
	adrp	x22, _CAP_FCHOWN@GOTPAGE
Lloh71:
	ldr	x22, [x22, _CAP_FCHOWN@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_TRY
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh72:
	adrp	x8, _CAP_FCHMOD@GOTPAGE
Lloh73:
	ldr	x8, [x8, _CAP_FCHMOD@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh75:
	adrp	x8, _CAP_FCNTL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _CAP_FCNTL@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	bl	_TRY
Lloh78:
	adrp	x8, _CAP_FPATHCONF@GOTPAGE
Lloh79:
	ldr	x8, [x8, _CAP_FPATHCONF@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	bl	_TRY
Lloh81:
	adrp	x8, _CAP_FSTAT@GOTPAGE
Lloh82:
	ldr	x8, [x8, _CAP_FSTAT@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh84:
	adrp	x8, _CAP_FSTATFS@GOTPAGE
Lloh85:
	ldr	x8, [x8, _CAP_FSTATFS@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	bl	_TRY
Lloh87:
	adrp	x8, _CAP_FUTIMES@GOTPAGE
Lloh88:
	ldr	x8, [x8, _CAP_FUTIMES@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh90:
	adrp	x8, _CAP_LINKAT@GOTPAGE
Lloh91:
	ldr	x8, [x8, _CAP_LINKAT@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh93:
	adrp	x8, _CAP_MKDIRAT@GOTPAGE
Lloh94:
	ldr	x8, [x8, _CAP_MKDIRAT@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh96:
	adrp	x8, _CAP_MKFIFOAT@GOTPAGE
Lloh97:
	ldr	x8, [x8, _CAP_MKFIFOAT@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh99:
	adrp	x8, _CAP_MKNODAT@GOTPAGE
Lloh100:
	ldr	x8, [x8, _CAP_MKNODAT@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh102:
	adrp	x8, _CAP_SYMLINKAT@GOTPAGE
Lloh103:
	ldr	x8, [x8, _CAP_SYMLINKAT@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh105:
	adrp	x22, _CAP_UNLINKAT@GOTPAGE
Lloh106:
	ldr	x22, [x22, _CAP_UNLINKAT@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w0, w9, w8
	bl	_TRY
Lloh107:
	adrp	x8, _CAP_RENAMEAT@GOTPAGE
Lloh108:
	ldr	x8, [x8, _CAP_RENAMEAT@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w0, w8, w9
	bl	_TRY
Lloh110:
	adrp	x21, l_.str.5@PAGE
Lloh111:
	add	x21, x21, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_strlen
	add	x8, sp, #32
	add	x1, x8, w0, sxtw
	mov	x0, x20
	mov	w2, #0
	bl	_unlinkat
	mov	x0, x21
	bl	_strlen
	mov	x8, sp
	add	x1, x8, w0, sxtw
Lloh112:
	adrp	x8, _AT_REMOVEDIR@GOTPAGE
Lloh113:
	ldr	x8, [x8, _AT_REMOVEDIR@GOTPAGEOFF]
Lloh114:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_unlinkat
	ldur	x8, [x29, #-56]
Lloh115:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh116:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh117:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PASSED,4,2                     ; @PASSED
	.section	__TEXT,__cstring,cstring_literals
l___const.test_capabilities.dir:        ; @__const.test_capabilities.dir
	.asciz	"/tmp/cap_test.XXXXXXXXXX"

l_.str:                                 ; @.str
	.asciz	"mkstemp"

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

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_DIRECTORY,4,2                ; @O_DIRECTORY
l_.str.2:                               ; @.str.2
	.asciz	"open"

l_.str.3:                               ; @.str.3
	.asciz	"/tmp"

l_.str.4:                               ; @.str.4
	.asciz	"cap_enter"

	.comm	_CAP_READ,4,2                   ; @CAP_READ
	.comm	_CAP_WRITE,4,2                  ; @CAP_WRITE
	.comm	_CAP_SEEK,4,2                   ; @CAP_SEEK
	.comm	_CAP_PREAD,4,2                  ; @CAP_PREAD
	.comm	_CAP_PWRITE,4,2                 ; @CAP_PWRITE
	.comm	_CAP_MMAP,4,2                   ; @CAP_MMAP
	.comm	_CAP_MMAP_R,4,2                 ; @CAP_MMAP_R
	.comm	_CAP_MMAP_W,4,2                 ; @CAP_MMAP_W
	.comm	_CAP_MMAP_X,4,2                 ; @CAP_MMAP_X
	.comm	_CAP_MMAP_RW,4,2                ; @CAP_MMAP_RW
	.comm	_CAP_MMAP_RX,4,2                ; @CAP_MMAP_RX
	.comm	_CAP_MMAP_WX,4,2                ; @CAP_MMAP_WX
	.comm	_CAP_MMAP_RWX,4,2               ; @CAP_MMAP_RWX
	.comm	_CAP_CREATE,4,2                 ; @CAP_CREATE
	.comm	_CAP_LOOKUP,4,2                 ; @CAP_LOOKUP
	.comm	_CAP_FSYNC,4,2                  ; @CAP_FSYNC
	.comm	_CAP_FTRUNCATE,4,2              ; @CAP_FTRUNCATE
	.comm	_CAP_FCHFLAGS,4,2               ; @CAP_FCHFLAGS
	.comm	_CAP_FCHOWN,4,2                 ; @CAP_FCHOWN
	.comm	_CAP_FCHMOD,4,2                 ; @CAP_FCHMOD
	.comm	_CAP_FCNTL,4,2                  ; @CAP_FCNTL
	.comm	_CAP_FPATHCONF,4,2              ; @CAP_FPATHCONF
	.comm	_CAP_FSTAT,4,2                  ; @CAP_FSTAT
	.comm	_CAP_FSTATFS,4,2                ; @CAP_FSTATFS
	.comm	_CAP_FUTIMES,4,2                ; @CAP_FUTIMES
	.comm	_CAP_LINKAT,4,2                 ; @CAP_LINKAT
	.comm	_CAP_MKDIRAT,4,2                ; @CAP_MKDIRAT
	.comm	_CAP_MKFIFOAT,4,2               ; @CAP_MKFIFOAT
	.comm	_CAP_MKNODAT,4,2                ; @CAP_MKNODAT
	.comm	_CAP_SYMLINKAT,4,2              ; @CAP_SYMLINKAT
	.comm	_CAP_UNLINKAT,4,2               ; @CAP_UNLINKAT
	.comm	_CAP_RENAMEAT,4,2               ; @CAP_RENAMEAT
l_.str.5:                               ; @.str.5
	.asciz	"/tmp/"

	.comm	_AT_REMOVEDIR,4,2               ; @AT_REMOVEDIR
	.comm	_CAP_ACCEPT,4,2                 ; @CAP_ACCEPT
	.comm	_CAP_ACL_CHECK,4,2              ; @CAP_ACL_CHECK
	.comm	_CAP_ACL_DELETE,4,2             ; @CAP_ACL_DELETE
	.comm	_CAP_ACL_GET,4,2                ; @CAP_ACL_GET
	.comm	_CAP_ACL_SET,4,2                ; @CAP_ACL_SET
	.comm	_CAP_BIND,4,2                   ; @CAP_BIND
	.comm	_CAP_CONNECT,4,2                ; @CAP_CONNECT
	.comm	_CAP_EVENT,4,2                  ; @CAP_EVENT
	.comm	_CAP_EXTATTR_DELETE,4,2         ; @CAP_EXTATTR_DELETE
	.comm	_CAP_EXTATTR_GET,4,2            ; @CAP_EXTATTR_GET
	.comm	_CAP_EXTATTR_LIST,4,2           ; @CAP_EXTATTR_LIST
	.comm	_CAP_EXTATTR_SET,4,2            ; @CAP_EXTATTR_SET
	.comm	_CAP_FCHDIR,4,2                 ; @CAP_FCHDIR
	.comm	_CAP_FEXECVE,4,2                ; @CAP_FEXECVE
	.comm	_CAP_FLOCK,4,2                  ; @CAP_FLOCK
	.comm	_CAP_FSCK,4,2                   ; @CAP_FSCK
	.comm	_CAP_GETPEERNAME,4,2            ; @CAP_GETPEERNAME
	.comm	_CAP_GETSOCKNAME,4,2            ; @CAP_GETSOCKNAME
	.comm	_CAP_GETSOCKOPT,4,2             ; @CAP_GETSOCKOPT
	.comm	_CAP_IOCTL,4,2                  ; @CAP_IOCTL
	.comm	_CAP_LISTEN,4,2                 ; @CAP_LISTEN
	.comm	_CAP_MAC_GET,4,2                ; @CAP_MAC_GET
	.comm	_CAP_MAC_SET,4,2                ; @CAP_MAC_SET
	.comm	_CAP_PDGETPID,4,2               ; @CAP_PDGETPID
	.comm	_CAP_PDKILL,4,2                 ; @CAP_PDKILL
	.comm	_CAP_PDWAIT,4,2                 ; @CAP_PDWAIT
	.comm	_CAP_PEELOFF,4,2                ; @CAP_PEELOFF
	.comm	_CAP_POST_EVENT,4,2             ; @CAP_POST_EVENT
	.comm	_CAP_RECV,4,2                   ; @CAP_RECV
	.comm	_CAP_SEM_GETVALUE,4,2           ; @CAP_SEM_GETVALUE
	.comm	_CAP_SEM_POST,4,2               ; @CAP_SEM_POST
	.comm	_CAP_SEM_WAIT,4,2               ; @CAP_SEM_WAIT
	.comm	_CAP_SEND,4,2                   ; @CAP_SEND
	.comm	_CAP_SETSOCKOPT,4,2             ; @CAP_SETSOCKOPT
	.comm	_CAP_SHUTDOWN,4,2               ; @CAP_SHUTDOWN
	.comm	_CAP_TTYHOOK,4,2                ; @CAP_TTYHOOK
.subsections_via_symbols
