	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genl_register_ops              ## -- Begin function genl_register_ops
	.p2align	4, 0x90
_genl_register_ops:                     ## @genl_register_ops
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 24(%rsi)
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_2
LBB0_4:
	movl	32(%rbx), %edi
	movq	%r14, %rsi
	callq	_genl_get_cmd
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_GENL_CMD_CAP_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_8:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_GENL_CMD_CAP_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_10:
	cmpq	$0, 8(%rbx)
	je	LBB0_12
## %bb.11:
	movq	_GENL_CMD_CAP_HASPOL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_12:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_genl_lock
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	xorl	%eax, %eax
	callq	_genl_unlock
	movq	_CTRL_CMD_NEWOPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_genl_ctrl_event
	jmp	LBB0_13
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_GENL_CMD_CAP_DUMP,4,2          ## @GENL_CMD_CAP_DUMP
	.comm	_GENL_CMD_CAP_DO,4,2            ## @GENL_CMD_CAP_DO
	.comm	_GENL_CMD_CAP_HASPOL,4,2        ## @GENL_CMD_CAP_HASPOL
	.comm	_CTRL_CMD_NEWOPS,4,2            ## @CTRL_CMD_NEWOPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genl_register_ops              ; -- Begin function genl_register_ops
	.p2align	2
_genl_register_ops:                     ; @genl_register_ops
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
LBB0_2:
	ldr	w0, [x19, #32]
	mov	x1, x20
	bl	_genl_get_cmd
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _GENL_CMD_CAP_DUMP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GENL_CMD_CAP_DUMP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _GENL_CMD_CAP_DO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GENL_CMD_CAP_DO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _GENL_CMD_CAP_HASPOL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GENL_CMD_CAP_HASPOL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_10:
	bl	_genl_lock
	mov	x0, x19
	mov	x1, x20
	bl	_list_add_tail
	bl	_genl_unlock
Lloh11:
	adrp	x8, _CTRL_CMD_NEWOPS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTRL_CMD_NEWOPS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_genl_ctrl_event
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_GENL_CMD_CAP_DUMP,4,2          ; @GENL_CMD_CAP_DUMP
	.comm	_GENL_CMD_CAP_DO,4,2            ; @GENL_CMD_CAP_DO
	.comm	_GENL_CMD_CAP_HASPOL,4,2        ; @GENL_CMD_CAP_HASPOL
	.comm	_CTRL_CMD_NEWOPS,4,2            ; @CTRL_CMD_NEWOPS
.subsections_via_symbols
