	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nf_log_register                ## -- Begin function nf_log_register
	.p2align	4, 0x90
_nf_log_register:                       ## @nf_log_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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_nf_loggers@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%r14, %rax
	jbe	LBB0_12
## %bb.1:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	_nf_log_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_NFPROTO_UNSPEC@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_8
## %bb.5:
	movq	_NFPROTO_NUMPROTO@GOTPCREL(%rip), %r15
	cmpl	%r14d, (%r15)
	jle	LBB0_10
## %bb.6:
	movslq	%r14d, %r14
	leaq	(,%r14,4), %rbx
	movq	_nf_loggers_l@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	(%r13), %rsi
	addq	%rbx, %rsi
	callq	_list_add_tail
	incq	%r14
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_7
	jmp	LBB0_10
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_8:
	leaq	(,%r14,4), %rsi
	movq	(%r12), %rdi
	addq	%rsi, %rdi
	movq	_nf_loggers_l@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_list_add_tail
	movq	(%r15), %rax
	movl	(%rax,%r14,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	(%r15), %rax
	movl	(%rax,%r14,4), %edi
	movq	%r12, %rsi
	callq	_rcu_assign_pointer
LBB0_10:
	movq	_nf_log_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nf_loggers,8,3                 ## @nf_loggers
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_nf_log_mutex,4,2               ## @nf_log_mutex
	.comm	_NFPROTO_UNSPEC,8,3             ## @NFPROTO_UNSPEC
	.comm	_NFPROTO_NUMPROTO,4,2           ## @NFPROTO_NUMPROTO
	.comm	_nf_loggers_l,8,3               ## @nf_loggers_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nf_log_register                ; -- Begin function nf_log_register
	.p2align	2
_nf_log_register:                       ; @nf_log_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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _nf_loggers@GOTPAGE
Lloh1:
	ldr	x21, [x21, _nf_loggers@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x20
	b.ls	LBB0_8
; %bb.1:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x22
	bl	_INIT_LIST_HEAD
	add	x23, x23, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_3
LBB0_4:
Lloh2:
	adrp	x0, _nf_log_mutex@GOTPAGE
Lloh3:
	ldr	x0, [x0, _nf_log_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh4:
	adrp	x8, _NFPROTO_UNSPEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NFPROTO_UNSPEC@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.5:
Lloh7:
	adrp	x21, _NFPROTO_NUMPROTO@GOTPAGE
Lloh8:
	ldr	x21, [x21, _NFPROTO_NUMPROTO@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w20
	b.le	LBB0_11
; %bb.6:
	sxtw	x20, w20
	lsl	x22, x20, #2
Lloh9:
	adrp	x23, _nf_loggers_l@GOTPAGE
Lloh10:
	ldr	x23, [x23, _nf_loggers_l@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x22
	ldr	x8, [x23]
	add	x1, x8, x22
	bl	_list_add_tail
	add	x20, x20, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x20, x8
	b.lt	LBB0_7
	b	LBB0_11
LBB0_8:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_9:
	ldr	x8, [x19]
	lsl	x22, x20, #2
	add	x0, x8, x22
Lloh14:
	adrp	x8, _nf_loggers_l@GOTPAGE
Lloh15:
	ldr	x8, [x8, _nf_loggers_l@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x1, x8, x22
	bl	_list_add_tail
	ldr	x8, [x21]
	ldr	w0, [x8, x22]
	bl	_rcu_dereference
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x21]
	ldr	w0, [x8, x20, lsl #2]
	mov	x1, x19
	bl	_rcu_assign_pointer
LBB0_11:
Lloh17:
	adrp	x0, _nf_log_mutex@GOTPAGE
Lloh18:
	ldr	x0, [x0, _nf_log_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	w0, #0
LBB0_12:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_nf_loggers,8,3                 ; @nf_loggers
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_nf_log_mutex,4,2               ; @nf_log_mutex
	.comm	_NFPROTO_UNSPEC,8,3             ; @NFPROTO_UNSPEC
	.comm	_NFPROTO_NUMPROTO,4,2           ; @NFPROTO_NUMPROTO
	.comm	_nf_loggers_l,8,3               ; @nf_loggers_l
.subsections_via_symbols
