	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sock_ctrl
_sock_ctrl:                             ## @sock_ctrl
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_10
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	movl	$1, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	%r14, %rdi
	callq	_sock_free
	movl	(%r15), %eax
	movl	%eax, (%r14)
	movl	%r12d, 4(%r14)
	movl	$1, 8(%r14)
	jmp	LBB0_11
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_3:
	cmpl	$0, 8(%r14)
	je	LBB0_4
## %bb.5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movl	(%r14), %eax
	movl	%eax, (%r15)
LBB0_7:
	movslq	(%r14), %rbx
	jmp	LBB0_11
LBB0_9:
	movl	%r12d, 4(%r14)
	jmp	LBB0_11
LBB0_8:
	movslq	4(%r14), %rbx
	jmp	LBB0_11
LBB0_4:
	movq	$-1, %rbx
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_sock_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sock_ctrl
_sock_ctrl:                             ; @sock_ctrl
	.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
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_sock_free
	ldr	w8, [x20]
	stp	w8, w21, [x19]
	mov	w0, #1
	str	w0, [x19, #8]
	b	LBB0_11
LBB0_3:
	mov	x0, #0
	b	LBB0_11
LBB0_4:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_10
; %bb.5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_7:
	ldrsw	x0, [x19]
	b	LBB0_11
LBB0_8:
	str	w21, [x19, #4]
	mov	w0, #1
	b	LBB0_11
LBB0_9:
	ldrsw	x0, [x19, #4]
	b	LBB0_11
LBB0_10:
	mov	x0, #-1
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_sock_ctrl
.subsections_via_symbols
