	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioctl_tests_send_0
_ioctl_tests_send_0:                    ## @ioctl_tests_send_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AF_UNIX@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %ebx
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_CHECK
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_descriptor_send
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%ebx, %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	(%r13), %edi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %ebx
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_CHECK
	movq	_FIOCLEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_FIONCLEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_nitems
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_cap_ioctls_limit
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_descriptor_send
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%ebx, %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	(%r13), %edi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %ebx
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_CHECK
	movq	_FIOCLEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_cap_ioctls_limit
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_descriptor_send
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%ebx, %edi
	callq	_close
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	(%r13), %edi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %ebx
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_CHECK
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_cap_ioctls_limit
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_descriptor_send
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHECK
	movl	%ebx, %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_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_FIOCLEX,8,3                    ## @FIOCLEX
	.comm	_FIONCLEX,8,3                   ## @FIONCLEX
	.no_dead_strip	_ioctl_tests_send_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_send_0
_ioctl_tests_send_0:                    ; @ioctl_tests_send_0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	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, #24]
Lloh3:
	adrp	x21, _AF_UNIX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AF_UNIX@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x22, _SOCK_STREAM@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SOCK_STREAM@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_CHECK
	mov	x0, x19
	mov	x1, x20
	bl	_descriptor_send
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x20
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_CHECK
Lloh7:
	adrp	x23, _FIOCLEX@GOTPAGE
Lloh8:
	ldr	x23, [x23, _FIOCLEX@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh9:
	adrp	x9, _FIONCLEX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FIONCLEX@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	stp	x8, x9, [sp, #8]
	add	x0, sp, #8
	bl	_nitems
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_cap_ioctls_limit
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x19
	mov	x1, x20
	bl	_descriptor_send
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x20
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_CHECK
	ldr	x8, [x23]
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_cap_ioctls_limit
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x19
	mov	x1, x20
	bl	_descriptor_send
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x20
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_CHECK
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	bl	_cap_ioctls_limit
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x19
	mov	x1, x20
	bl	_descriptor_send
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, x20
	bl	_close
	cmp	x0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_FIOCLEX,8,3                    ; @FIOCLEX
	.comm	_FIONCLEX,8,3                   ; @FIONCLEX
	.no_dead_strip	_ioctl_tests_send_0
.subsections_via_symbols
