	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_wake_async                ## -- Begin function sock_wake_async
	.p2align	4, 0x90
_sock_wake_async:                       ## @sock_wake_async
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movl	$-1, %r15d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.2:
	xorl	%r15d, %r15d
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_8
## %bb.3:
	movl	%edx, %r14d
	movq	_SIGURG@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_SOCK_ASYNC_WAITDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_6
LBB0_5:
	movq	_SOCK_ASYNC_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_8
LBB0_6:
	movl	(%rbx), %edi
	movq	_SIGIO@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	___kill_fasync
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_SOCK_ASYNC_WAITDATA,4,2        ## @SOCK_ASYNC_WAITDATA
	.comm	_SOCK_ASYNC_NOSPACE,4,2         ## @SOCK_ASYNC_NOSPACE
	.comm	_SIGIO,4,2                      ## @SIGIO
	.comm	_SIGURG,4,2                     ## @SIGURG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_wake_async                ; -- Begin function sock_wake_async
	.p2align	2
_sock_wake_async:                       ; @sock_wake_async
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0]
	cbz	w0, LBB0_5
; %bb.2:
	sub	w9, w1, #128
	cmp	w9, #3
	b.hi	LBB0_9
; %bb.3:
	mov	x19, x2
Lloh0:
	adrp	x8, _SIGURG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGURG@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
Lloh4:
	adrp	x8, _SOCK_ASYNC_WAITDATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SOCK_ASYNC_WAITDATA@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_test_bit
	cbnz	w0, LBB0_9
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	b	LBB0_10
LBB0_6:
Lloh7:
	adrp	x8, _SOCK_ASYNC_NOSPACE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOCK_ASYNC_NOSPACE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_test_and_clear_bit
	cbz	w0, LBB0_10
LBB0_7:
	ldr	w0, [x20]
Lloh10:
	adrp	x8, _SIGIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGIO@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	___kill_fasync
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_SOCK_ASYNC_WAITDATA,4,2        ; @SOCK_ASYNC_WAITDATA
	.comm	_SOCK_ASYNC_NOSPACE,4,2         ; @SOCK_ASYNC_NOSPACE
	.comm	_SIGIO,4,2                      ; @SIGIO
	.comm	_SIGURG,4,2                     ; @SIGURG
.subsections_via_symbols
