	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___fxstat                       ## -- Begin function __fxstat
	.p2align	4, 0x90
___fxstat:                              ## @__fxstat
	.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	%rdx, %r14
	movl	%esi, %ebx
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_init_preload
	leaq	-28(%rbp), %rsi
	movl	%ebx, %edi
	callq	_fd_get
	movq	_fd_rsocket@GOTPCREL(%rip), %rdx
	movq	_real@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_3
## %bb.1:
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	*%rcx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14), %eax
	movq	___S_IFSOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movl	-28(%rbp), %esi
	movl	%r15d, %edi
	movq	%r14, %rdx
	callq	*%rcx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fd_rsocket,8,3                 ## @fd_rsocket
	.comm	_real,8,3                       ## @real
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	___S_IFSOCK,4,2                 ## @__S_IFSOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___fxstat                       ; -- Begin function __fxstat
	.p2align	2
___fxstat:                              ; @__fxstat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_init_preload
	add	x1, sp, #12
	mov	x0, x21
	bl	_fd_get
Lloh0:
	adrp	x8, _fd_rsocket@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fd_rsocket@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _real@GOTPAGE
Lloh4:
	ldr	x8, [x8, _real@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	blr	x8
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh9:
	adrp	x9, ___S_IFSOCK@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___S_IFSOCK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
	ldr	w1, [sp, #12]
	mov	x0, x20
	mov	x2, x19
	blr	x8
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_fd_rsocket,8,3                 ; @fd_rsocket
	.comm	_real,8,3                       ; @real
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	___S_IFSOCK,4,2                 ; @__S_IFSOCK
.subsections_via_symbols
