	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sx_port_xmit
_mlxsw_sx_port_xmit:                    ## @mlxsw_sx_port_xmit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	16(%rax), %r12
	movl	$0, -48(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	callq	_mlxsw_core_skb_transmit_busy
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_headroom
	movq	_MLXSW_TXHDR_LEN@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_skb_realloc_headroom
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_dev_consume_skb_any
	movq	%r15, %rbx
LBB0_5:
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sx_txhdr_construct
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %r13
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_mlxsw_core_skb_transmit
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_this_cpu_inc
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_8
LBB0_6:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	subl	%r13d, %r15d
	movq	(%r14), %rdi
	callq	_this_cpu_ptr
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_u64_stats_update_begin
	incl	8(%rbx)
	addl	%r15d, 4(%rbx)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
LBB0_8:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_MLXSW_TXHDR_LEN,8,3            ## @MLXSW_TXHDR_LEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_mlxsw_sx_port_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sx_port_xmit
_mlxsw_sx_port_xmit:                    ; @mlxsw_sx_port_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x0, #16]
	ldr	w8, [x0, #8]
	stp	wzr, w8, [sp, #8]
	ldr	w0, [x19, #8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_mlxsw_core_skb_transmit_busy
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x0, x19
	bl	_skb_headroom
Lloh2:
	adrp	x23, _MLXSW_TXHDR_LEN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MLXSW_TXHDR_LEN@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x1, [x23]
	mov	x0, x19
	bl	_skb_realloc_headroom
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	mov	x0, x19
	bl	_dev_consume_skb_any
	mov	x19, x21
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mlxsw_sx_txhdr_construct
	ldr	x21, [x19]
	ldr	x23, [x23]
	ldr	w0, [x22]
	add	x2, sp, #8
	mov	x1, x19
	bl	_mlxsw_core_skb_transmit
	cbz	w0, LBB0_7
LBB0_6:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_this_cpu_inc
	mov	x0, x19
	bl	_dev_kfree_skb_any
	b	LBB0_8
LBB0_7:
	sub	w21, w21, w23
	ldr	x0, [x20]
	bl	_this_cpu_ptr
	mov	x19, x0
	bl	_u64_stats_update_begin
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	mov.s	v1[0], w21
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
	mov	x0, x19
	bl	_u64_stats_update_end
LBB0_8:
Lloh4:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_MLXSW_TXHDR_LEN,8,3            ; @MLXSW_TXHDR_LEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_mlxsw_sx_port_xmit
.subsections_via_symbols
