	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_emad_pack_op_tlv
_mlxsw_emad_pack_op_tlv:                ## @mlxsw_emad_pack_op_tlv
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_MLXSW_EMAD_TLV_TYPE_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mlxsw_emad_op_tlv_type_set
	movq	_MLXSW_EMAD_OP_TLV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_op_tlv_len_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_emad_op_tlv_dr_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_emad_op_tlv_status_set
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_op_tlv_register_id_set
	movq	_MLXSW_EMAD_OP_TLV_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_op_tlv_r_set
	movq	_MLXSW_CORE_REG_ACCESS_TYPE_QUERY@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_MLXSW_EMAD_OP_TLV_METHOD_QUERY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MLXSW_EMAD_OP_TLV_METHOD_WRITE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_op_tlv_method_set
	movq	_MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_op_tlv_class_set
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_emad_op_tlv_tid_set      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_EMAD_TLV_TYPE_OP,4,2     ## @MLXSW_EMAD_TLV_TYPE_OP
	.comm	_MLXSW_EMAD_OP_TLV_LEN,4,2      ## @MLXSW_EMAD_OP_TLV_LEN
	.comm	_MLXSW_EMAD_OP_TLV_REQUEST,4,2  ## @MLXSW_EMAD_OP_TLV_REQUEST
	.comm	_MLXSW_CORE_REG_ACCESS_TYPE_QUERY,4,2 ## @MLXSW_CORE_REG_ACCESS_TYPE_QUERY
	.comm	_MLXSW_EMAD_OP_TLV_METHOD_QUERY,4,2 ## @MLXSW_EMAD_OP_TLV_METHOD_QUERY
	.comm	_MLXSW_EMAD_OP_TLV_METHOD_WRITE,4,2 ## @MLXSW_EMAD_OP_TLV_METHOD_WRITE
	.comm	_MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS,4,2 ## @MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS
	.no_dead_strip	_mlxsw_emad_pack_op_tlv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_emad_pack_op_tlv
_mlxsw_emad_pack_op_tlv:                ; @mlxsw_emad_pack_op_tlv
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MLXSW_EMAD_TLV_TYPE_OP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_EMAD_TLV_TYPE_OP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mlxsw_emad_op_tlv_type_set
Lloh3:
	adrp	x8, _MLXSW_EMAD_OP_TLV_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_EMAD_OP_TLV_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mlxsw_emad_op_tlv_len_set
	mov	x0, x22
	mov	w1, #0
	bl	_mlxsw_emad_op_tlv_dr_set
	mov	x0, x22
	mov	w1, #0
	bl	_mlxsw_emad_op_tlv_status_set
	ldr	w1, [x21]
	mov	x0, x22
	bl	_mlxsw_emad_op_tlv_register_id_set
Lloh6:
	adrp	x8, _MLXSW_EMAD_OP_TLV_REQUEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLXSW_EMAD_OP_TLV_REQUEST@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mlxsw_emad_op_tlv_r_set
Lloh9:
	adrp	x8, _MLXSW_CORE_REG_ACCESS_TYPE_QUERY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLXSW_CORE_REG_ACCESS_TYPE_QUERY@GOTPAGEOFF]
Lloh11:
	adrp	x9, _MLXSW_EMAD_OP_TLV_METHOD_QUERY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MLXSW_EMAD_OP_TLV_METHOD_QUERY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x10, _MLXSW_EMAD_OP_TLV_METHOD_WRITE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MLXSW_EMAD_OP_TLV_METHOD_WRITE@GOTPAGEOFF]
	cmp	w8, w20
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mlxsw_emad_op_tlv_method_set
Lloh16:
	adrp	x8, _MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mlxsw_emad_op_tlv_class_set
	mov	x0, x22
	mov	x1, 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_emad_op_tlv_tid_set
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_EMAD_TLV_TYPE_OP,4,2     ; @MLXSW_EMAD_TLV_TYPE_OP
	.comm	_MLXSW_EMAD_OP_TLV_LEN,4,2      ; @MLXSW_EMAD_OP_TLV_LEN
	.comm	_MLXSW_EMAD_OP_TLV_REQUEST,4,2  ; @MLXSW_EMAD_OP_TLV_REQUEST
	.comm	_MLXSW_CORE_REG_ACCESS_TYPE_QUERY,4,2 ; @MLXSW_CORE_REG_ACCESS_TYPE_QUERY
	.comm	_MLXSW_EMAD_OP_TLV_METHOD_QUERY,4,2 ; @MLXSW_EMAD_OP_TLV_METHOD_QUERY
	.comm	_MLXSW_EMAD_OP_TLV_METHOD_WRITE,4,2 ; @MLXSW_EMAD_OP_TLV_METHOD_WRITE
	.comm	_MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS,4,2 ; @MLXSW_EMAD_OP_TLV_CLASS_REG_ACCESS
	.no_dead_strip	_mlxsw_emad_pack_op_tlv
.subsections_via_symbols
