	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsocket_listen                 ## -- Begin function fsocket_listen
	.p2align	4, 0x90
_fsocket_listen:                        ## @fsocket_listen
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.3:
	movq	(%rbx), %rcx
	movl	(%rcx), %r12d
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	movq	8(%rbx), %rax
	movl	%r14d, %esi
	callq	*(%rax)
	testl	%eax, %eax
	jns	LBB0_8
## %bb.5:
	movq	(%rbx), %rcx
	jmp	LBB0_7
LBB0_9:
	movq	_EBADF@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	movq	_EBADF@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
LBB0_7:
	movl	%r12d, (%rcx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBADF,4,2                      ## @EBADF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsocket_listen                 ; -- Begin function fsocket_listen
	.p2align	2
_fsocket_listen:                        ; @fsocket_listen
	.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
	ldr	x19, [x0]
	cbz	x19, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_9
; %bb.2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	x8, [x19]
	ldr	w22, [x8]
	ldr	x0, [x21]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x1, x20
	blr	x8
	tbz	w0, #31, LBB0_9
; %bb.5:
	ldr	x8, [x19]
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _EBADF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x9, _EBADF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EBADF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	neg	w0, w9
LBB0_8:
	str	w22, [x8]
LBB0_9:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EBADF,4,2                      ; @EBADF
.subsections_via_symbols
