	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sock_from_file
_sock_from_file:                        ## @sock_from_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FMODE_FASTSOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
LBB0_2:
	movq	8(%rdi), %rax
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rdi), %rax
	cmpq	_socket_file_ops@GOTPCREL(%rip), %rax
	je	LBB0_2
## %bb.3:
	movq	_ENOTSOCK@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FMODE_FASTSOCKET,4,2           ## @FMODE_FASTSOCKET
	.comm	_socket_file_ops,4,2            ## @socket_file_ops
	.comm	_ENOTSOCK,4,2                   ## @ENOTSOCK
	.no_dead_strip	_sock_from_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sock_from_file
_sock_from_file:                        ; @sock_from_file
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FMODE_FASTSOCKET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FMODE_FASTSOCKET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	ldr	x0, [x0, #8]
	ret
LBB0_2:
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _socket_file_ops@GOTPAGE
Lloh4:
	ldr	x9, [x9, _socket_file_ops@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.3:
	mov	x0, #0
Lloh5:
	adrp	x8, _ENOTSOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTSOCK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FMODE_FASTSOCKET,4,2           ; @FMODE_FASTSOCKET
	.comm	_socket_file_ops,4,2            ; @socket_file_ops
	.comm	_ENOTSOCK,4,2                   ; @ENOTSOCK
	.no_dead_strip	_sock_from_file
.subsections_via_symbols
