	.file	"extr_core.c_uv__cloexec_ioctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	uv__cloexec_ioctl
	.type	uv__cloexec_ioctl, @function
uv__cloexec_ioctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR errno[rip]
	cmp	rdi, QWORD PTR EINTR[rip]
	jne	.L6
.L5:
	test	ebx, ebx
	mov	esi, DWORD PTR FIOCLEX[rip]
	cmove	esi, DWORD PTR FIONCLEX[rip]
	mov	edi, ebp
	call	ioctl@PLT
	cmp	eax, -1
	je	.L11
	test	eax, eax
	jne	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR errno[rip]
.L6:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	UV__ERR@PLT
	.cfi_endproc
.LFE0:
	.size	uv__cloexec_ioctl, .-uv__cloexec_ioctl
	.comm	errno,8,8
	.comm	FIONCLEX,4,4
	.comm	FIOCLEX,4,4
	.comm	EINTR,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_core.c_uv__cloexec_ioctl.c"
	.text
	.align	2
	.global	uv__cloexec_ioctl
	.syntax unified
	.arm
	.fpu softvfp
	.type	uv__cloexec_ioctl, %function
uv__cloexec_ioctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r9, .L12
	ldr	r8, .L12+4
	ldr	r7, .L12+8
	ldr	r6, .L12+12
	b	.L5
.L11:
	ldr	r0, [r7]
	ldr	r3, [r6]
	cmp	r0, r3
	bne	.L6
.L5:
	cmp	r4, #0
	ldrne	r1, [r8]
	ldreq	r1, [r9]
	mov	r0, r5
	bl	ioctl
	cmn	r0, #1
	beq	.L11
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, .L12+8
	ldr	r0, [r3]
.L6:
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	UV__ERR
.L13:
	.align	2
.L12:
	.word	FIONCLEX
	.word	FIOCLEX
	.word	errno
	.word	EINTR
	.size	uv__cloexec_ioctl, .-uv__cloexec_ioctl
	.comm	errno,4,4
	.comm	FIONCLEX,4,4
	.comm	FIOCLEX,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
