	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_txhdr_construct
_mlxsw_sp_txhdr_construct:              ## @mlxsw_sp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -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
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_MLXSW_TXHDR_VERSION_1@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
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_tx_hdr_swid_set
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mlxsw_tx_hdr_control_tclass_set
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_tx_hdr_port_mid_set
	movq	_MLXSW_TXHDR_TYPE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	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_1,4,2      ## @MLXSW_TXHDR_VERSION_1
	.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_TYPE_CONTROL,4,2   ## @MLXSW_TXHDR_TYPE_CONTROL
	.no_dead_strip	_mlxsw_sp_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_sp_txhdr_construct
_mlxsw_sp_txhdr_construct:              ; @mlxsw_sp_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	x19, x1
Lloh0:
	adrp	x21, _MLXSW_TXHDR_LEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MLXSW_TXHDR_LEN@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_skb_push
	mov	x20, x0
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
Lloh2:
	adrp	x8, _MLXSW_TXHDR_VERSION_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLXSW_TXHDR_VERSION_1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	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, x20
	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, x20
	bl	_mlxsw_tx_hdr_proto_set
	mov	x0, x20
	mov	w1, #0
	bl	_mlxsw_tx_hdr_swid_set
	mov	x0, x20
	mov	w1, #1
	bl	_mlxsw_tx_hdr_control_tclass_set
	ldr	w1, [x19]
	mov	x0, x20
	bl	_mlxsw_tx_hdr_port_mid_set
Lloh11:
	adrp	x8, _MLXSW_TXHDR_TYPE_CONTROL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLXSW_TXHDR_TYPE_CONTROL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	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	Lloh11, Lloh12, Lloh13
	.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_1,4,2      ; @MLXSW_TXHDR_VERSION_1
	.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_TYPE_CONTROL,4,2   ; @MLXSW_TXHDR_TYPE_CONTROL
	.no_dead_strip	_mlxsw_sp_txhdr_construct
.subsections_via_symbols
