	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_make_socket_nonblocking ## -- Begin function evutil_make_socket_nonblocking
	.p2align	4, 0x90
_evutil_make_socket_nonblocking:        ## @evutil_make_socket_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_F_GETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_fcntl
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_6
## %bb.3:
	movq	_F_SETFL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	%eax, %edx
	movq	%r14, %rdi
	callq	_fcntl
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_5:
	movq	%r14, %rsi
	callq	_event_warn
	movl	$-1, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_GETFL,4,2                    ## @F_GETFL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fcntl(%d, F_GETFL)"

	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_F_SETFL,4,2                    ## @F_SETFL
L_.str.1:                               ## @.str.1
	.asciz	"fcntl(%d, F_SETFL)"

	.comm	_FIONBIO,4,2                    ## @FIONBIO
	.comm	_SOCKET_ERROR,8,3               ## @SOCKET_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_make_socket_nonblocking ; -- Begin function evutil_make_socket_nonblocking
	.p2align	2
_evutil_make_socket_nonblocking:        ; @evutil_make_socket_nonblocking
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _F_GETFL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_fcntl
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _F_SETFL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _F_SETFL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_fcntl
	cmn	w0, #1
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	mov	x1, x19
	bl	_event_warn
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_F_GETFL,4,2                    ; @F_GETFL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fcntl(%d, F_GETFL)"

	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_F_SETFL,4,2                    ; @F_SETFL
l_.str.1:                               ; @.str.1
	.asciz	"fcntl(%d, F_SETFL)"

	.comm	_FIONBIO,4,2                    ; @FIONBIO
	.comm	_SOCKET_ERROR,8,3               ; @SOCKET_ERROR
.subsections_via_symbols
