	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function econet_create
_econet_create:                         ## @econet_create
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	_init_net@GOTPCREL(%rip), %rdi
	je	LBB0_3
## %bb.1:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %r15
	movq	(%rsi), %rax
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movl	%edx, %r14d
	movq	_SS_UNCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PF_ECONET@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_init_net@GOTPCREL(%rip), %rdi
	movq	_econet_proto@GOTPCREL(%rip), %rcx
	callq	_sk_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r12
	movl	$1, (%rax)
	movq	_econet_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_sock_init_data
	movq	%r12, %rdi
	callq	_ec_sk
	movq	%rax, %rbx
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sock_reset_flag
	movl	(%r13), %eax
	movl	%eax, 4(%r12)
	movl	%r14d, (%rbx)
	movq	_econet_sklist@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_econet_insert_socket
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_4:
	movq	_ESOCKTNOSUPPORT@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	negl	%ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	_ESOCKTNOSUPPORT,4,2            ## @ESOCKTNOSUPPORT
	.comm	_SS_UNCONNECTED,4,2             ## @SS_UNCONNECTED
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_PF_ECONET,4,2                  ## @PF_ECONET
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_econet_proto,4,2               ## @econet_proto
	.comm	_econet_ops,4,2                 ## @econet_ops
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.comm	_econet_sklist,4,2              ## @econet_sklist
	.no_dead_strip	_econet_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function econet_create
_econet_create:                         ; @econet_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _init_net@GOTPAGE
Lloh1:
	ldr	x8, [x8, _init_net@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x20, x1
	ldr	x8, [x1]
Lloh4:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x19, x2
Lloh7:
	adrp	x8, _SS_UNCONNECTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SS_UNCONNECTED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh10:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
Lloh13:
	adrp	x22, _PF_ECONET@GOTPAGE
Lloh14:
	ldr	x22, [x22, _PF_ECONET@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x0, _init_net@GOTPAGE
Lloh19:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
Lloh20:
	adrp	x3, _econet_proto@GOTPAGE
Lloh21:
	ldr	x3, [x3, _econet_proto@GOTPAGEOFF]
	bl	_sk_alloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
	mov	w8, #1
	str	w8, [x0]
Lloh22:
	adrp	x8, _econet_ops@GOTPAGE
Lloh23:
	ldr	x8, [x8, _econet_ops@GOTPAGEOFF]
	str	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_sock_init_data
	mov	x0, x21
	bl	_ec_sk
	mov	x20, x0
Lloh24:
	adrp	x8, _SOCK_ZAPPED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SOCK_ZAPPED@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_sock_reset_flag
	ldr	w8, [x22]
	str	w8, [x21, #4]
	str	w19, [x20]
Lloh27:
	adrp	x0, _econet_sklist@GOTPAGE
Lloh28:
	ldr	x0, [x0, _econet_sklist@GOTPAGEOFF]
	mov	x1, x21
	bl	_econet_insert_socket
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh29:
	adrp	x8, _ESOCKTNOSUPPORT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ESOCKTNOSUPPORT@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	neg	w0, w23
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	_ESOCKTNOSUPPORT,4,2            ; @ESOCKTNOSUPPORT
	.comm	_SS_UNCONNECTED,4,2             ; @SS_UNCONNECTED
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_PF_ECONET,4,2                  ; @PF_ECONET
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_econet_proto,4,2               ; @econet_proto
	.comm	_econet_ops,4,2                 ; @econet_ops
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.comm	_econet_sklist,4,2              ; @econet_sklist
	.no_dead_strip	_econet_create
.subsections_via_symbols
