	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_socketpair_nonblocking
_do_socketpair_nonblocking:             ## @do_socketpair_nonblocking
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_PF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_SEQPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_socketpair
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ATF_REQUIRE_EQ
	movl	(%rbx), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_ATF_REQUIRE
	movl	4(%rbx), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_ATF_REQUIRE
	movl	(%rbx), %eax
	xorl	%edi, %edi
	cmpl	4(%rbx), %eax
	setne	%dil
	callq	_ATF_REQUIRE
	movl	(%rbx), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_O_NONBLOCK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_fcntl
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	movl	(%r15), %edx
	callq	_fcntl
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ATF_REQUIRE                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_LOCAL,4,2                   ## @PF_LOCAL
	.comm	_SOCK_SEQPACKET,4,2             ## @SOCK_SEQPACKET
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.no_dead_strip	_do_socketpair_nonblocking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_socketpair_nonblocking
_do_socketpair_nonblocking:             ; @do_socketpair_nonblocking
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _PF_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_SEQPACKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_SEQPACKET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	mov	x3, x19
	bl	_socketpair
	mov	x1, x0
	mov	w0, #0
	bl	_ATF_REQUIRE_EQ
	ldr	w8, [x19]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_ATF_REQUIRE
	ldr	w8, [x19, #4]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_ATF_REQUIRE
	ldp	w8, w9, [x19]
	cmp	w8, w9
	cset	w0, ne
	bl	_ATF_REQUIRE
	ldr	w0, [x19]
Lloh6:
	adrp	x20, _F_SETFL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _F_SETFL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh8:
	adrp	x21, _O_NONBLOCK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _O_NONBLOCK@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_fcntl
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	ldr	w2, [x21]
	bl	_fcntl
	cmn	w0, #1
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ATF_REQUIRE
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_LOCAL,4,2                   ; @PF_LOCAL
	.comm	_SOCK_SEQPACKET,4,2             ; @SOCK_SEQPACKET
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.no_dead_strip	_do_socketpair_nonblocking
.subsections_via_symbols
