	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rtnl_register                ## -- Begin function __rtnl_register
	.p2align	4, 0x90
___rtnl_register:                       ## @__rtnl_register
	.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
	movl	%edi, %ebx
	testl	%edi, %edi
	sets	%al
	movq	_RTNL_FAMILY_MAX@GOTPCREL(%rip), %rdi
	cmpl	%ebx, (%rdi)
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r13d
	setl	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_BUG_ON
	movl	%r13d, %edi
	callq	_rtm_msgindex
	movl	%eax, %r13d
	movq	_rtnl_msg_handlers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_RTM_NR_MSGTYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_rtnl_msg_handlers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
LBB0_4:
	movslq	%r13d, %rdx
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	leaq	(%rdx,%rdx,2), %rcx
	movq	%r12, 16(%rax,%rcx,8)
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	leaq	(%rdx,%rdx,2), %rcx
	movq	%r15, 8(%rax,%rcx,8)
LBB0_8:
	xorl	%ecx, %ecx
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	leaq	(%rdx,%rdx,2), %rdx
	movq	%r14, (%rax,%rdx,8)
	jmp	LBB0_10
LBB0_2:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTNL_FAMILY_MAX,4,2            ## @RTNL_FAMILY_MAX
	.comm	_rtnl_msg_handlers,8,3          ## @rtnl_msg_handlers
	.comm	_RTM_NR_MSGTYPES,4,2            ## @RTM_NR_MSGTYPES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rtnl_register                ; -- Begin function __rtnl_register
	.p2align	2
___rtnl_register:                       ; @__rtnl_register
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	cmp	w0, #0
Lloh0:
	adrp	x8, _RTNL_FAMILY_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTNL_FAMILY_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, w0, #8, ge
	cset	w0, lt
	bl	_BUG_ON
	mov	x0, x22
	bl	_rtm_msgindex
	mov	x22, x0
Lloh3:
	adrp	x24, _rtnl_msg_handlers@GOTPAGE
Lloh4:
	ldr	x24, [x24, _rtnl_msg_handlers@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x8, w23, sxtw #3]
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x21, LBB0_3
LBB0_2:
	mov	w8, #24
	smaddl	x8, w22, w8, x0
	str	x21, [x8, #16]
LBB0_3:
	cbz	x20, LBB0_5
; %bb.4:
	mov	w8, #24
	smaddl	x8, w22, w8, x0
	str	x20, [x8, #8]
LBB0_5:
	mov	w8, #0
	cbz	x19, LBB0_10
; %bb.6:
	mov	w9, #24
	smull	x9, w22, w9
	str	x19, [x0, x9]
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _RTM_NR_MSGTYPES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTM_NR_MSGTYPES@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_kcalloc
	cbz	x0, LBB0_9
; %bb.8:
	sxtw	x8, w23
	ldr	x9, [x24]
	str	x0, [x9, x8, lsl #3]
	cbnz	x21, LBB0_2
	b	LBB0_3
LBB0_9:
Lloh11:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_10:
	mov	x0, x8
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RTNL_FAMILY_MAX,4,2            ; @RTNL_FAMILY_MAX
	.comm	_rtnl_msg_handlers,8,3          ; @rtnl_msg_handlers
	.comm	_RTM_NR_MSGTYPES,4,2            ; @RTM_NR_MSGTYPES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
.subsections_via_symbols
