	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsocket_init_socket
_fsocket_init_socket:                   ## @fsocket_init_socket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_enable_direct_tcp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	movq	_SOCK_DIRECT_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sock_set_flag
	movq	_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_DPRINTK
LBB0_2:
	movq	_enable_receive_cpu_selection@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rdi
	movq	_SOCK_AFFINITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sock_set_flag
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	(%rbx), %rdx
	movl	%eax, (%rdx)
	movq	_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DPRINTK                        ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enable_direct_tcp,8,3          ## @enable_direct_tcp
	.comm	_SOCK_DIRECT_TCP,4,2            ## @SOCK_DIRECT_TCP
	.comm	_DEBUG,4,2                      ## @DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Socket 0x%p is set with DIRECT_TCP\n"

	.comm	_enable_receive_cpu_selection,8,3 ## @enable_receive_cpu_selection
	.comm	_SOCK_AFFINITY,4,2              ## @SOCK_AFFINITY
L_.str.1:                               ## @.str.1
	.asciz	"Socket 0x%p is set with RCS\n"

	.no_dead_strip	_fsocket_init_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsocket_init_socket
_fsocket_init_socket:                   ; @fsocket_init_socket
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _enable_direct_tcp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enable_direct_tcp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _DEBUG@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DEBUG@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _SOCK_DIRECT_TCP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOCK_DIRECT_TCP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_sock_set_flag
	ldr	w0, [x20]
	ldr	x2, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DPRINTK
LBB0_2:
Lloh10:
	adrp	x8, _enable_receive_cpu_selection@GOTPAGE
Lloh11:
	ldr	x8, [x8, _enable_receive_cpu_selection@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x0, [x19]
Lloh13:
	adrp	x8, _SOCK_AFFINITY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SOCK_AFFINITY@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_sock_set_flag
	bl	_smp_processor_id
	ldr	x2, [x19]
	str	w0, [x2]
	ldr	w0, [x20]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DPRINTK
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_enable_direct_tcp,8,3          ; @enable_direct_tcp
	.comm	_SOCK_DIRECT_TCP,4,2            ; @SOCK_DIRECT_TCP
	.comm	_DEBUG,4,2                      ; @DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Socket 0x%p is set with DIRECT_TCP\n"

	.comm	_enable_receive_cpu_selection,8,3 ; @enable_receive_cpu_selection
	.comm	_SOCK_AFFINITY,4,2              ; @SOCK_AFFINITY
l_.str.1:                               ; @.str.1
	.asciz	"Socket 0x%p is set with RCS\n"

	.no_dead_strip	_fsocket_init_socket
.subsections_via_symbols
