	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sx_txhdr_construct
_mlxsw_sx_txhdr_construct:              ## @mlxsw_sx_txhdr_construct
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_MLXSW_TXHDR_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_skb_push
	movq	%rax, %rbx
	movl	(%r15), %edx
	cmpl	$0, (%r14)
	movq	_MLXSW_TXHDR_ETCLASS_6@GOTPCREL(%rip), %r13
	cmoveq	_MLXSW_TXHDR_ETCLASS_5@GOTPCREL(%rip), %r13
	movq	_MLXSW_TXHDR_RDQ_EMAD@GOTPCREL(%rip), %r12
	cmoveq	_MLXSW_TXHDR_RDQ_OTHER@GOTPCREL(%rip), %r12
	movq	_MLXSW_TXHDR_EMAD@GOTPCREL(%rip), %r15
	cmoveq	_MLXSW_TXHDR_NOT_EMAD@GOTPCREL(%rip), %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_MLXSW_TXHDR_VERSION_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_version_set
	movq	_MLXSW_TXHDR_ETH_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_ctl_set
	movq	_MLXSW_TXHDR_PROTO_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_proto_set
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_etclass_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_tx_hdr_swid_set
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_port_mid_set
	movq	_MLXSW_TXHDR_CTCLASS3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_ctclass3_set
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_rdq_set
	movq	_MLXSW_TXHDR_CPU_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_cpu_sig_set
	movq	_MLXSW_TXHDR_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_sig_set
	movq	_MLXSW_TXHDR_STCLASS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_stclass_set
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_emad_set
	movq	_MLXSW_TXHDR_TYPE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_tx_hdr_type_set          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_TXHDR_LEN,4,2            ## @MLXSW_TXHDR_LEN
	.comm	_MLXSW_TXHDR_VERSION_0,4,2      ## @MLXSW_TXHDR_VERSION_0
	.comm	_MLXSW_TXHDR_ETH_CTL,4,2        ## @MLXSW_TXHDR_ETH_CTL
	.comm	_MLXSW_TXHDR_PROTO_ETH,4,2      ## @MLXSW_TXHDR_PROTO_ETH
	.comm	_MLXSW_TXHDR_ETCLASS_6,4,2      ## @MLXSW_TXHDR_ETCLASS_6
	.comm	_MLXSW_TXHDR_ETCLASS_5,4,2      ## @MLXSW_TXHDR_ETCLASS_5
	.comm	_MLXSW_TXHDR_CTCLASS3,4,2       ## @MLXSW_TXHDR_CTCLASS3
	.comm	_MLXSW_TXHDR_RDQ_EMAD,4,2       ## @MLXSW_TXHDR_RDQ_EMAD
	.comm	_MLXSW_TXHDR_RDQ_OTHER,4,2      ## @MLXSW_TXHDR_RDQ_OTHER
	.comm	_MLXSW_TXHDR_CPU_SIG,4,2        ## @MLXSW_TXHDR_CPU_SIG
	.comm	_MLXSW_TXHDR_SIG,4,2            ## @MLXSW_TXHDR_SIG
	.comm	_MLXSW_TXHDR_STCLASS_NONE,4,2   ## @MLXSW_TXHDR_STCLASS_NONE
	.comm	_MLXSW_TXHDR_EMAD,4,2           ## @MLXSW_TXHDR_EMAD
	.comm	_MLXSW_TXHDR_NOT_EMAD,4,2       ## @MLXSW_TXHDR_NOT_EMAD
	.comm	_MLXSW_TXHDR_TYPE_CONTROL,4,2   ## @MLXSW_TXHDR_TYPE_CONTROL
	.no_dead_strip	_mlxsw_sx_txhdr_construct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sx_txhdr_construct
_mlxsw_sx_txhdr_construct:              ; @mlxsw_sx_txhdr_construct
	.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	x20, x1
Lloh0:
	adrp	x21, _MLXSW_TXHDR_LEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MLXSW_TXHDR_LEN@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_skb_push
	mov	x19, x0
	ldr	w22, [x20]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
Lloh2:
	adrp	x8, _MLXSW_TXHDR_VERSION_0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLXSW_TXHDR_VERSION_0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_version_set
Lloh5:
	adrp	x8, _MLXSW_TXHDR_ETH_CTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLXSW_TXHDR_ETH_CTL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_ctl_set
Lloh8:
	adrp	x8, _MLXSW_TXHDR_PROTO_ETH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLXSW_TXHDR_PROTO_ETH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_proto_set
Lloh11:
	adrp	x8, _MLXSW_TXHDR_ETCLASS_6@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLXSW_TXHDR_ETCLASS_6@GOTPAGEOFF]
Lloh13:
	adrp	x9, _MLXSW_TXHDR_ETCLASS_5@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MLXSW_TXHDR_ETCLASS_5@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MLXSW_TXHDR_RDQ_EMAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLXSW_TXHDR_RDQ_EMAD@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MLXSW_TXHDR_RDQ_OTHER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MLXSW_TXHDR_RDQ_OTHER@GOTPAGEOFF]
Lloh19:
	adrp	x10, _MLXSW_TXHDR_EMAD@GOTPAGE
Lloh20:
	ldr	x10, [x10, _MLXSW_TXHDR_EMAD@GOTPAGEOFF]
	csel	x21, x9, x8, eq
Lloh21:
	adrp	x8, _MLXSW_TXHDR_NOT_EMAD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLXSW_TXHDR_NOT_EMAD@GOTPAGEOFF]
	csel	x22, x8, x10, eq
	mov	x0, x19
	bl	_mlxsw_tx_hdr_etclass_set
	mov	x0, x19
	mov	w1, #0
	bl	_mlxsw_tx_hdr_swid_set
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_port_mid_set
Lloh23:
	adrp	x8, _MLXSW_TXHDR_CTCLASS3@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MLXSW_TXHDR_CTCLASS3@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_ctclass3_set
	ldr	w1, [x21]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_rdq_set
Lloh26:
	adrp	x8, _MLXSW_TXHDR_CPU_SIG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MLXSW_TXHDR_CPU_SIG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_cpu_sig_set
Lloh29:
	adrp	x8, _MLXSW_TXHDR_SIG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MLXSW_TXHDR_SIG@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_sig_set
Lloh32:
	adrp	x8, _MLXSW_TXHDR_STCLASS_NONE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MLXSW_TXHDR_STCLASS_NONE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_stclass_set
	ldr	w1, [x22]
	mov	x0, x19
	bl	_mlxsw_tx_hdr_emad_set
Lloh35:
	adrp	x8, _MLXSW_TXHDR_TYPE_CONTROL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MLXSW_TXHDR_TYPE_CONTROL@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_mlxsw_tx_hdr_type_set
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_TXHDR_LEN,4,2            ; @MLXSW_TXHDR_LEN
	.comm	_MLXSW_TXHDR_VERSION_0,4,2      ; @MLXSW_TXHDR_VERSION_0
	.comm	_MLXSW_TXHDR_ETH_CTL,4,2        ; @MLXSW_TXHDR_ETH_CTL
	.comm	_MLXSW_TXHDR_PROTO_ETH,4,2      ; @MLXSW_TXHDR_PROTO_ETH
	.comm	_MLXSW_TXHDR_ETCLASS_6,4,2      ; @MLXSW_TXHDR_ETCLASS_6
	.comm	_MLXSW_TXHDR_ETCLASS_5,4,2      ; @MLXSW_TXHDR_ETCLASS_5
	.comm	_MLXSW_TXHDR_CTCLASS3,4,2       ; @MLXSW_TXHDR_CTCLASS3
	.comm	_MLXSW_TXHDR_RDQ_EMAD,4,2       ; @MLXSW_TXHDR_RDQ_EMAD
	.comm	_MLXSW_TXHDR_RDQ_OTHER,4,2      ; @MLXSW_TXHDR_RDQ_OTHER
	.comm	_MLXSW_TXHDR_CPU_SIG,4,2        ; @MLXSW_TXHDR_CPU_SIG
	.comm	_MLXSW_TXHDR_SIG,4,2            ; @MLXSW_TXHDR_SIG
	.comm	_MLXSW_TXHDR_STCLASS_NONE,4,2   ; @MLXSW_TXHDR_STCLASS_NONE
	.comm	_MLXSW_TXHDR_EMAD,4,2           ; @MLXSW_TXHDR_EMAD
	.comm	_MLXSW_TXHDR_NOT_EMAD,4,2       ; @MLXSW_TXHDR_NOT_EMAD
	.comm	_MLXSW_TXHDR_TYPE_CONTROL,4,2   ; @MLXSW_TXHDR_TYPE_CONTROL
	.no_dead_strip	_mlxsw_sx_txhdr_construct
.subsections_via_symbols
