	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atalk_create
_atalk_create:                          ## @atalk_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	_init_net@GOTPCREL(%rip), %rdi
	je	LBB0_2
## %bb.1:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	%rsi, %r14
	xorl	%ebx, %ebx
	movq	(%rsi), %rax
	movq	_SOCK_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_ESOCKTNOSUPPORT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	_PF_APPLETALK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_init_net@GOTPCREL(%rip), %rdi
	movq	_ddp_proto@GOTPCREL(%rip), %rcx
	callq	_sk_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r15
	movq	_atalk_dgram_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sock_init_data
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sock_set_flag
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESOCKTNOSUPPORT,4,2            ## @ESOCKTNOSUPPORT
	.comm	_init_net,4,2                   ## @init_net
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_SOCK_RAW,8,3                   ## @SOCK_RAW
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PF_APPLETALK,4,2               ## @PF_APPLETALK
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ddp_proto,4,2                  ## @ddp_proto
	.comm	_atalk_dgram_ops,4,2            ## @atalk_dgram_ops
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.no_dead_strip	_atalk_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atalk_create
_atalk_create:                          ; @atalk_create
	.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
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	x19, x1
	ldr	x8, [x1]
Lloh4:
	adrp	x9, _SOCK_RAW@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SOCK_RAW@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _SOCK_DGRAM@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SOCK_DGRAM@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
Lloh13:
	adrp	x8, _PF_APPLETALK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PF_APPLETALK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x0, _init_net@GOTPAGE
Lloh20:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
Lloh21:
	adrp	x3, _ddp_proto@GOTPAGE
Lloh22:
	ldr	x3, [x3, _ddp_proto@GOTPAGEOFF]
	bl	_sk_alloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
Lloh23:
	adrp	x8, _atalk_dgram_ops@GOTPAGE
Lloh24:
	ldr	x8, [x8, _atalk_dgram_ops@GOTPAGEOFF]
	str	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_sock_init_data
Lloh25:
	adrp	x8, _SOCK_ZAPPED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SOCK_ZAPPED@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sock_set_flag
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh28:
	adrp	x8, _ESOCKTNOSUPPORT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ESOCKTNOSUPPORT@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
	neg	w0, w21
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ESOCKTNOSUPPORT,4,2            ; @ESOCKTNOSUPPORT
	.comm	_init_net,4,2                   ; @init_net
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_SOCK_RAW,8,3                   ; @SOCK_RAW
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PF_APPLETALK,4,2               ; @PF_APPLETALK
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ddp_proto,4,2                  ; @ddp_proto
	.comm	_atalk_dgram_ops,4,2            ; @atalk_dgram_ops
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.no_dead_strip	_atalk_create
.subsections_via_symbols
