	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_re_netdev_event
_bnxt_re_netdev_event:                  ## @bnxt_re_netdev_event
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rdi
	movq	%rsi, %r14
	callq	_netdev_notifier_info_to_dev
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_rdma_vlan_dev_real_dev
	movq	%rax, %rbx
	testq	%rax, %rax
	cmoveq	%r15, %rbx
	movq	%rbx, %rdi
	callq	_bnxt_re_from_netdev
	movq	%rax, %r12
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	sete	%al
	cmpq	$129, %r14
	setne	%cl
	testb	%al, %cl
	jne	LBB0_13
## %bb.1:
	cmpq	%r15, %rbx
	jne	LBB0_13
## %bb.2:
	cmpq	$128, %r14
	je	LBB0_8
## %bb.3:
	cmpq	$129, %r14
	jne	LBB0_11
## %bb.4:
	testq	%r12, %r12
	jne	LBB0_13
## %bb.5:
	leaq	-40(%rbp), %rdi
	movq	%r15, %rsi
	callq	_bnxt_re_dev_reg
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_13
## %bb.6:
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_err
	jmp	LBB0_13
LBB0_8:
	movq	%r12, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	jg	LBB0_13
## %bb.9:
	movq	%r12, %rdi
	callq	_bnxt_re_ib_unreg
	movq	%r12, %rdi
	callq	_bnxt_re_remove_one
	movq	%r12, %rdi
	callq	_bnxt_re_dev_unreg
	jmp	LBB0_13
LBB0_10:
	movq	-40(%rbp), %rdi
	callq	_bnxt_re_init_one
LBB0_11:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	movq	-40(%rbp), %rax
	movq	%rax, 24(%rbx)
	movq	%r14, (%rbx)
	movq	$0, 16(%rbx)
	addq	$8, %rbx
	movq	_bnxt_re_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	movq	-40(%rbp), %rdi
	callq	_atomic_inc
	movq	_bnxt_re_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_queue_work
LBB0_13:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register with the device %s: %#x\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_bnxt_re_task,4,2               ## @bnxt_re_task
	.comm	_bnxt_re_wq,4,2                 ## @bnxt_re_wq
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_bnxt_re_netdev_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_re_netdev_event
_bnxt_re_netdev_event:                  ; @bnxt_re_netdev_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x0, x2
	mov	x19, x1
	bl	_netdev_notifier_info_to_dev
	mov	x20, x0
	bl	_rdma_vlan_dev_real_dev
	cmp	x0, #0
	csel	x22, x20, x0, eq
	mov	x0, x22
	bl	_bnxt_re_from_netdev
	str	x0, [sp, #8]
	cmp	x0, #0
	mov	w8, #129
	ccmp	x19, x8, #4, eq
	ccmp	x22, x20, #0, eq
	b.eq	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
LBB0_2:
	mov	x21, x0
	cmp	x19, #128
	b.eq	LBB0_8
; %bb.3:
	cmp	x19, #129
	b.ne	LBB0_11
; %bb.4:
	cbnz	x21, LBB0_1
; %bb.5:
	add	x0, sp, #8
	mov	x1, x20
	bl	_bnxt_re_dev_reg
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_1
; %bb.6:
	mov	x2, x0
	cbz	w0, LBB0_10
; %bb.7:
	ldr	w1, [x20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_1
LBB0_8:
	mov	x0, x21
	bl	_atomic_read
	cmp	w0, #0
	b.gt	LBB0_1
; %bb.9:
	mov	x0, x21
	bl	_bnxt_re_ib_unreg
	mov	x0, x21
	bl	_bnxt_re_remove_one
	mov	x0, x21
	bl	_bnxt_re_dev_unreg
	b	LBB0_1
LBB0_10:
	ldr	x0, [sp, #8]
	bl	_bnxt_re_init_one
LBB0_11:
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_1
; %bb.12:
	ldr	x8, [sp, #8]
	str	x19, [x0]
	stp	xzr, x8, [x0, #16]
	add	x19, x0, #8
Lloh11:
	adrp	x8, _bnxt_re_task@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bnxt_re_task@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
	ldr	x0, [sp, #8]
	bl	_atomic_inc
Lloh14:
	adrp	x8, _bnxt_re_wq@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bnxt_re_wq@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_queue_work
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register with the device %s: %#x\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_bnxt_re_task,4,2               ; @bnxt_re_task
	.comm	_bnxt_re_wq,4,2                 ; @bnxt_re_wq
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_bnxt_re_netdev_event
.subsections_via_symbols
