	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioctl_tests_recv_0
_ioctl_tests_recv_0:                    ## @ioctl_tests_recv_0
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-68(%rbp), %r15
	movq	%r15, %rsi
	callq	_descriptor_recv
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_cap_ioctls_get
	movq	_CAP_IOCTLS_ALL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	_F_GETFD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	_FIOCLEX@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_fcntl
	movq	_FD_CLOEXEC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	_FIONCLEX@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_descriptor_recv
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	-68(%rbp), %ebx
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_nitems
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_cap_ioctls_get
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_nitems
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_CHECK
	movq	-64(%rbp), %rax
	movq	%r14, %r15
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rdx
	movq	(%r12), %rsi
	movl	$1, %edi
	cmpq	%rsi, %rdx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	(%r12), %rsi
	movq	-56(%rbp), %rdx
LBB0_3:
	xorq	%rsi, %rax
	xorq	%rcx, %rdx
	xorl	%edi, %edi
	orq	%rax, %rdx
	sete	%dil
LBB0_4:
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	(%r15), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	movq	_FD_CLOEXEC@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	(%r12), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	leaq	-68(%rbp), %rsi
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_descriptor_recv
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	-68(%rbp), %ebx
	movq	%r13, %r14
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	callq	_nitems
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_cap_ioctls_get
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_CHECK
	movq	-64(%rbp), %rax
	xorl	%edi, %edi
	movq	_FIOCLEX@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	(%rbx), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	movq	%r15, %rbx
	cmpq	(%r15), %rax
	sete	%dil
	callq	_CHECK
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movl	-68(%rbp), %edi
	movq	(%r12), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	cmpl	$-1, %eax
	sete	%dil
	callq	_CHECK
	movq	(%r15), %rax
	movq	_ENOTCAPABLE@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	leaq	-68(%rbp), %rsi
	callq	_descriptor_recv
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %ebx
	movq	%r13, %rdi
	callq	_nitems
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_cap_ioctls_get
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movq	$0, (%r15)
	movl	-68(%rbp), %edi
	movq	_FIOCLEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	cmpl	$-1, %eax
	sete	%dil
	callq	_CHECK
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FD_CLOEXEC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_CHECK
	movq	$0, (%r15)
	movl	-68(%rbp), %edi
	movq	_FIONCLEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_ioctl
	xorl	%edi, %edi
	cmpl	$-1, %eax
	sete	%dil
	callq	_CHECK
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	xorl	%eax, %eax
	callq	_fcntl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	-68(%rbp), %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CAP_IOCTLS_ALL,4,2             ## @CAP_IOCTLS_ALL
	.comm	_F_GETFD,4,2                    ## @F_GETFD
	.comm	_FIOCLEX,8,3                    ## @FIOCLEX
	.comm	_FD_CLOEXEC,8,3                 ## @FD_CLOEXEC
	.comm	_FIONCLEX,8,3                   ## @FIONCLEX
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOTCAPABLE,8,3                ## @ENOTCAPABLE
	.comm	_F_SETFD,4,2                    ## @F_SETFD
	.no_dead_strip	_ioctl_tests_recv_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioctl_tests_recv_0
_ioctl_tests_recv_0:                    ; @ioctl_tests_recv_0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x1, sp, #20
	bl	_descriptor_recv
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	mov	x1, #0
	mov	w2, #0
	bl	_cap_ioctls_get
Lloh3:
	adrp	x8, _CAP_IOCTLS_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAP_IOCTLS_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
Lloh6:
	adrp	x21, _F_GETFD@GOTPAGE
Lloh7:
	ldr	x21, [x21, _F_GETFD@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
Lloh8:
	adrp	x24, _FIOCLEX@GOTPAGE
Lloh9:
	ldr	x24, [x24, _FIOCLEX@GOTPAGEOFF]
	ldr	x1, [x24]
	bl	_ioctl
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
Lloh10:
	adrp	x22, _FD_CLOEXEC@GOTPAGE
Lloh11:
	ldr	x22, [x22, _FD_CLOEXEC@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
Lloh12:
	adrp	x23, _FIONCLEX@GOTPAGE
Lloh13:
	ldr	x23, [x23, _FIONCLEX@GOTPAGEOFF]
	ldr	x1, [x23]
	bl	_ioctl
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	add	x1, sp, #20
	mov	x0, x19
	bl	_descriptor_recv
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	stp	xzr, xzr, [sp, #24]
	ldr	w20, [sp, #20]
	add	x0, sp, #24
	bl	_nitems
	mov	x2, x0
	add	x1, sp, #24
	mov	x0, x20
	bl	_cap_ioctls_get
	mov	x20, x0
	add	x0, sp, #24
	bl	_nitems
	cmp	w20, w0
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [sp, #24]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x10, [sp, #32]
	ldr	x11, [x23]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_5
LBB0_3:
	ldr	x11, [x23]
	ldr	x10, [sp, #32]
LBB0_4:
	cmp	x8, x11
	ccmp	x10, x9, #0, eq
	cset	w0, eq
LBB0_5:
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	x1, [x24]
	bl	_ioctl
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	x1, [x23]
	bl	_ioctl
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	add	x1, sp, #20
	mov	x0, x19
	bl	_descriptor_recv
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	stp	xzr, xzr, [sp, #24]
	ldr	w20, [sp, #20]
	add	x0, sp, #24
	bl	_nitems
	mov	x2, x0
	add	x1, sp, #24
	mov	x0, x20
	bl	_cap_ioctls_get
	cmp	w0, #1
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [sp, #24]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	x1, [x24]
	bl	_ioctl
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHECK
Lloh14:
	adrp	x20, _errno@GOTPAGE
Lloh15:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	ldr	w0, [sp, #20]
	ldr	x1, [x23]
	bl	_ioctl
	cmn	w0, #1
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [x20]
Lloh16:
	adrp	x25, _ENOTCAPABLE@GOTPAGE
Lloh17:
	ldr	x25, [x25, _ENOTCAPABLE@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
Lloh18:
	adrp	x26, _F_SETFD@GOTPAGE
Lloh19:
	ldr	x26, [x26, _F_SETFD@GOTPAGEOFF]
	ldr	w1, [x26]
	str	xzr, [sp]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	add	x1, sp, #20
	mov	x0, x19
	bl	_descriptor_recv
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w19, [sp, #20]
	add	x0, sp, #24
	bl	_nitems
	mov	x2, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_cap_ioctls_get
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	str	xzr, [x20]
	ldr	w0, [sp, #20]
	ldr	x1, [x24]
	bl	_ioctl
	cmn	w0, #1
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [x20]
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x26]
	ldr	x8, [x22]
	str	x8, [sp]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHECK
	str	xzr, [x20]
	ldr	w0, [sp, #20]
	ldr	x1, [x23]
	bl	_ioctl
	cmn	w0, #1
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [x20]
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x26]
	str	xzr, [sp]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_fcntl
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [sp, #20]
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [sp, #40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CAP_IOCTLS_ALL,4,2             ; @CAP_IOCTLS_ALL
	.comm	_F_GETFD,4,2                    ; @F_GETFD
	.comm	_FIOCLEX,8,3                    ; @FIOCLEX
	.comm	_FD_CLOEXEC,8,3                 ; @FD_CLOEXEC
	.comm	_FIONCLEX,8,3                   ; @FIONCLEX
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOTCAPABLE,8,3                ; @ENOTCAPABLE
	.comm	_F_SETFD,4,2                    ; @F_SETFD
	.no_dead_strip	_ioctl_tests_recv_0
.subsections_via_symbols
