	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp6_register_dev             ## -- Begin function snmp6_register_dev
	.p2align	4, 0x90
_snmp6_register_dev:                    ## @snmp6_register_dev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.4:
	callq	_dev_net
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_5
## %bb.6:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_snmp6_dev_seq_fops@GOTPCREL(%rip), %rcx
	movq	%rbx, %r8
	callq	_proc_create_data
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_snmp6_dev_seq_fops,4,2         ## @snmp6_dev_seq_fops
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp6_register_dev             ; -- Begin function snmp6_register_dev
	.p2align	2
_snmp6_register_dev:                    ; @snmp6_register_dev
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_5
; %bb.2:
	bl	_dev_net
	ldr	w2, [x0]
	cbz	w2, LBB0_8
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, _snmp6_dev_seq_fops@GOTPAGE
Lloh4:
	ldr	x3, [x3, _snmp6_dev_seq_fops@GOTPAGEOFF]
	mov	x4, x19
	bl	_proc_create_data
	cbz	x0, LBB0_9
; %bb.4:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh7:
	adrp	x8, _ENOENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_snmp6_dev_seq_fops,4,2         ; @snmp6_dev_seq_fops
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
