	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sock_alloc
_sock_alloc:                            ## @sock_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_sock_mnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_new_inode
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SOCKET_I
	movq	%rax, %r14
	movq	_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kmemcheck_annotate_bitfield
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movq	_S_IRWXUGO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	callq	_current_fsuid
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	callq	_current_fsgid
	movl	%eax, 4(%rbx)
	movq	_sockets_in_use@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_percpu_add
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sock_mnt,8,3                   ## @sock_mnt
	.comm	_type,4,2                       ## @type
	.comm	_S_IFSOCK,4,2                   ## @S_IFSOCK
	.comm	_S_IRWXUGO,4,2                  ## @S_IRWXUGO
	.comm	_sockets_in_use,4,2             ## @sockets_in_use
	.no_dead_strip	_sock_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sock_alloc
_sock_alloc:                            ; @sock_alloc
	.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
Lloh0:
	adrp	x8, _sock_mnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sock_mnt@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_new_inode
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_SOCKET_I
	mov	x19, x0
Lloh3:
	adrp	x8, _type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _type@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmemcheck_annotate_bitfield
Lloh6:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _S_IRWXUGO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_IRWXUGO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
	bl	_current_fsuid
	str	w0, [x20, #8]
	bl	_current_fsgid
	str	w0, [x20, #4]
Lloh12:
	adrp	x8, _sockets_in_use@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sockets_in_use@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_percpu_add
	b	LBB0_3
LBB0_2:
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_sock_mnt,8,3                   ; @sock_mnt
	.comm	_type,4,2                       ; @type
	.comm	_S_IFSOCK,4,2                   ; @S_IFSOCK
	.comm	_S_IRWXUGO,4,2                  ; @S_IRWXUGO
	.comm	_sockets_in_use,4,2             ; @sockets_in_use
	.no_dead_strip	_sock_alloc
.subsections_via_symbols
