	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_pernet_gen_subsys     ## -- Begin function register_pernet_gen_subsys
	.p2align	4, 0x90
_register_pernet_gen_subsys:            ## @register_pernet_gen_subsys
	.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
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_net_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_net_generic_ids@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_ida_get_new_above
	testl	%eax, %eax
	jns	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	movq	_EAGAIN@GOTPCREL(%rip), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movq	_net_generic_ids@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	addl	%ebx, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_ida_pre_get
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_ida_get_new_above
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
LBB0_4:
	movq	_first_device@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_register_pernet_operations
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	movq	_net_generic_ids@GOTPCREL(%rip), %rdi
	callq	_ida_remove
LBB0_6:
	movq	_net_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_net_mutex,4,2                  ## @net_mutex
	.comm	_net_generic_ids,4,2            ## @net_generic_ids
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_first_device,4,2               ## @first_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_pernet_gen_subsys     ; -- Begin function register_pernet_gen_subsys
	.p2align	2
_register_pernet_gen_subsys:            ; @register_pernet_gen_subsys
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _net_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _net_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x0, _net_generic_ids@GOTPAGE
Lloh3:
	ldr	x0, [x0, _net_generic_ids@GOTPAGEOFF]
	mov	w1, #1
	mov	x2, x19
	bl	_ida_get_new_above
	tbz	w0, #31, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh4:
	adrp	x23, _EAGAIN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _EAGAIN@GOTPAGEOFF]
Lloh6:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	adrp	x22, _net_generic_ids@GOTPAGE
Lloh9:
	ldr	x22, [x22, _net_generic_ids@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	cmn	w21, w8
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x24]
	mov	x0, x22
	bl	_ida_pre_get
	mov	x0, x22
	mov	w1, #1
	mov	x2, x19
	bl	_ida_get_new_above
	mov	x21, x0
	tbnz	w0, #31, LBB0_2
LBB0_4:
Lloh10:
	adrp	x8, _first_device@GOTPAGE
Lloh11:
	ldr	x8, [x8, _first_device@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_register_pernet_operations
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
	ldr	w1, [x19]
Lloh13:
	adrp	x0, _net_generic_ids@GOTPAGE
Lloh14:
	ldr	x0, [x0, _net_generic_ids@GOTPAGEOFF]
	bl	_ida_remove
LBB0_6:
Lloh15:
	adrp	x0, _net_mutex@GOTPAGE
Lloh16:
	ldr	x0, [x0, _net_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x21
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_net_mutex,4,2                  ; @net_mutex
	.comm	_net_generic_ids,4,2            ; @net_generic_ids
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_first_device,4,2               ; @first_device
.subsections_via_symbols
