	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_init_rep_tx
_mlx5e_init_rep_tx:                     ## @mlx5e_init_rep_tx
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	callq	_mlx5e_create_tises
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_mlx5_core_warn
	jmp	LBB0_7
LBB0_2:
	movq	24(%r14), %rax
	movq	(%rax), %rax
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	leaq	20(%r14), %rdi
	callq	_mutex_init
	leaq	16(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	callq	_mlx5e_tc_esw_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	leaq	12(%r14), %rdi
	movl	(%r15), %esi
	callq	_mlx5_init_port_tun_entropy
	leaq	8(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	_mlx5e_nic_rep_netdevice_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	4(%r14), %rdi
	movl	%eax, 4(%r14)
	callq	_register_netdevice_notifier
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r12d
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_mlx5_core_err
	movq	%r14, %rdi
	callq	_mlx5e_tc_esw_cleanup
LBB0_6:
	movq	%r15, %rdi
	callq	_mlx5e_destroy_tises
	movl	%r12d, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"create tises failed, %d\n"

	.comm	_MLX5_VPORT_UPLINK,8,3          ## @MLX5_VPORT_UPLINK
	.comm	_mlx5e_nic_rep_netdevice_event,4,2 ## @mlx5e_nic_rep_netdevice_event
L_.str.1:                               ## @.str.1
	.asciz	"Failed to register netdev notifier\n"

	.no_dead_strip	_mlx5e_init_rep_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_init_rep_tx
_mlx5e_init_rep_tx:                     ; @mlx5e_init_rep_tx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x20, [x0, #8]
	bl	_mlx5e_create_tises
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_mlx5_core_warn
	b	LBB0_8
LBB0_2:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	add	x0, x20, #20
	bl	_mutex_init
	add	x0, x20, #16
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	bl	_mlx5e_tc_esw_init
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.4:
	add	x0, x20, #12
	ldr	w1, [x19]
	bl	_mlx5_init_port_tun_entropy
	add	x0, x20, #8
	bl	_INIT_LIST_HEAD
Lloh5:
	adrp	x8, _mlx5e_nic_rep_netdevice_event@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mlx5e_nic_rep_netdevice_event@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	x0, x20
	str	w8, [x0, #4]!
	bl	_register_netdevice_notifier
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_mlx5_core_err
	mov	x0, x20
	bl	_mlx5e_tc_esw_cleanup
LBB0_6:
	mov	x0, x19
	bl	_mlx5e_destroy_tises
	b	LBB0_8
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"create tises failed, %d\n"

	.comm	_MLX5_VPORT_UPLINK,8,3          ; @MLX5_VPORT_UPLINK
	.comm	_mlx5e_nic_rep_netdevice_event,4,2 ; @mlx5e_nic_rep_netdevice_event
l_.str.1:                               ; @.str.1
	.asciz	"Failed to register netdev notifier\n"

	.no_dead_strip	_mlx5e_init_rep_tx
.subsections_via_symbols
