	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlink_kernel_create          ## -- Begin function netlink_kernel_create
	.p2align	4, 0x90
_netlink_kernel_create:                 ## @netlink_kernel_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_nl_table@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_BUG_ON
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	js	LBB0_15
## %bb.1:
	movq	_MAX_LINKS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_15
## %bb.2:
	movq	_PF_NETLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rcx
	movl	%ebx, %edx
	callq	_sock_create_lite
	testq	%rax, %rax
	jne	LBB0_14
## %bb.3:
	movq	-64(%rbp), %rsi
	movq	_init_net@GOTPCREL(%rip), %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	___netlink_create
	movq	-64(%rbp), %rdi
	testq	%rax, %rax
	js	LBB0_13
## %bb.4:
	movq	(%rdi), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_sk_change_net
	cmpl	$33, %r15d
	movl	$32, %edi
	cmovael	%r15d, %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_NLGRPSZ
	leaq	4(%rax), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	_netlink_data_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_nlk_sk
	movq	%r14, (%rax)
LBB0_7:
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_netlink_insert
	testq	%rax, %rax
	je	LBB0_8
LBB0_12:
	movq	%r15, %rdi
	callq	_kfree
	movq	%r12, %rdi
	callq	_netlink_kernel_release
	jmp	LBB0_14
LBB0_13:
	callq	_sock_release
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r12, %rdi
	callq	_nlk_sk
	movq	_NETLINK_KERNEL_SOCKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rax)
	xorl	%eax, %eax
	callq	_netlink_table_grab
	movq	_nl_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%ebx, %ebx
	shlq	$5, %rbx
	cmpl	$0, (%rax,%rbx)
	je	LBB0_9
## %bb.10:
	movq	%r15, %rdi
	callq	_kfree
	movq	(%r14), %rax
	incl	(%rax,%rbx)
	jmp	LBB0_11
LBB0_9:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax,%rbx)
	movq	%r15, 8(%rax,%rbx)
	movq	(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%rax,%rbx)
	movq	(%r14), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax,%rbx)
	movq	(%r14), %rax
	movl	$1, (%rax,%rbx)
LBB0_11:
	xorl	%eax, %eax
	callq	_netlink_table_ungrab
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_nl_table,8,3                   ## @nl_table
	.comm	_MAX_LINKS,4,2                  ## @MAX_LINKS
	.comm	_PF_NETLINK,4,2                 ## @PF_NETLINK
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_init_net,4,2                   ## @init_net
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_netlink_data_ready,4,2         ## @netlink_data_ready
	.comm	_NETLINK_KERNEL_SOCKET,4,2      ## @NETLINK_KERNEL_SOCKET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlink_kernel_create          ; -- Begin function netlink_kernel_create
	.p2align	2
_netlink_kernel_create:                 ; @netlink_kernel_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x25, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x27, _nl_table@GOTPAGE
Lloh1:
	ldr	x27, [x27, _nl_table@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x21, #0
	tbnz	w22, #31, LBB0_11
; %bb.1:
Lloh2:
	adrp	x8, _MAX_LINKS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_LINKS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w22
	b.le	LBB0_11
; %bb.2:
Lloh5:
	adrp	x8, _PF_NETLINK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PF_NETLINK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, x22
	bl	_sock_create_lite
	cbnz	x0, LBB0_10
; %bb.3:
	ldr	x1, [sp, #8]
Lloh11:
	adrp	x0, _init_net@GOTPAGE
Lloh12:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x22
	bl	___netlink_create
	mov	x8, x0
	ldr	x0, [sp, #8]
	tbnz	x8, #63, LBB0_9
; %bb.4:
	ldr	x21, [x0]
	mov	x0, x21
	mov	x1, x23
	bl	_sk_change_net
	mov	w8, #32
	cmp	w25, #32
	csel	w25, w25, w8, hi
	mov	x0, x25
	bl	_NLGRPSZ
	add	x0, x0, #4
Lloh13:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_kzalloc
	mov	x26, x0
	cbz	x0, LBB0_8
; %bb.5:
Lloh16:
	adrp	x8, _netlink_data_ready@GOTPAGE
Lloh17:
	ldr	x8, [x8, _netlink_data_ready@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x21]
	cbz	x24, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_nlk_sk
	str	x24, [x0]
LBB0_7:
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_netlink_insert
	cbz	x0, LBB0_12
LBB0_8:
	mov	x0, x26
	bl	_kfree
	mov	x0, x21
	bl	_netlink_kernel_release
	b	LBB0_10
LBB0_9:
	bl	_sock_release
LBB0_10:
	mov	x21, #0
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	mov	x0, x21
	bl	_nlk_sk
Lloh19:
	adrp	x8, _NETLINK_KERNEL_SOCKET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETLINK_KERNEL_SOCKET@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	bl	_netlink_table_grab
	ldr	x8, [x27]
	mov	w9, w22
	lsl	x22, x9, #5
	ldr	w9, [x8, x22]
	cbz	w9, LBB0_14
; %bb.13:
	mov	x0, x26
	bl	_kfree
	ldr	x8, [x27]
	ldr	w9, [x8, x22]
	add	w9, w9, #1
	b	LBB0_15
LBB0_14:
	add	x8, x8, x22
	str	w25, [x8, #4]
	str	x26, [x8, #8]
	ldr	x8, [x27]
	add	x8, x8, x22
	str	x20, [x8, #24]
	ldr	x8, [x27]
	add	x8, x8, x22
	str	x19, [x8, #16]
	ldr	x8, [x27]
	mov	w9, #1
LBB0_15:
	str	w9, [x8, x22]
	bl	_netlink_table_ungrab
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_nl_table,8,3                   ; @nl_table
	.comm	_MAX_LINKS,4,2                  ; @MAX_LINKS
	.comm	_PF_NETLINK,4,2                 ; @PF_NETLINK
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_init_net,4,2                   ; @init_net
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_netlink_data_ready,4,2         ; @netlink_data_ready
	.comm	_NETLINK_KERNEL_SOCKET,4,2      ; @NETLINK_KERNEL_SOCKET
.subsections_via_symbols
