	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_create_proc_entry         ## -- Begin function bond_create_proc_entry
	.p2align	4, 0x90
_bond_create_proc_entry:                ## @bond_create_proc_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_dev_net
	movq	_bond_net_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_net_generic
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movl	(%r14), %edi
	movq	_bond_info_seq_ops@GOTPCREL(%rip), %rcx
	movl	$292, %esi                      ## imm = 0x124
	movq	%rbx, %r8
	callq	_proc_create_seq_data
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bond_net_id,4,2                ## @bond_net_id
	.comm	_bond_info_seq_ops,4,2          ## @bond_info_seq_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot create /proc/net/%s/%s\n"

	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_create_proc_entry         ; -- Begin function bond_create_proc_entry
	.p2align	2
_bond_create_proc_entry:                ; @bond_create_proc_entry
	.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	x20, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_dev_net
Lloh0:
	adrp	x8, _bond_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bond_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_net_generic
	ldr	x2, [x0]
	cbz	x2, LBB0_3
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x3, _bond_info_seq_ops@GOTPAGE
Lloh4:
	ldr	x3, [x3, _bond_info_seq_ops@GOTPAGEOFF]
	mov	w1, #292
	mov	x4, x20
	bl	_proc_create_seq_data
	str	x0, [x20, #8]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20]
	ldr	w1, [x19]
Lloh5:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_bond_net_id,4,2                ; @bond_net_id
	.comm	_bond_info_seq_ops,4,2          ; @bond_info_seq_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot create /proc/net/%s/%s\n"

	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
.subsections_via_symbols
