	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_reg_htgt_pack
_mlxsw_reg_htgt_pack:                   ## @mlxsw_reg_htgt_pack
	.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	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_htgt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_MLXSW_REG_ZERO
	movq	_MLXSW_REG_HTGT_INVALID_POLICER@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_MLXSW_REG_HTGT_POLICER_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_reg_htgt_pide_set
	jmp	LBB0_3
LBB0_2:
	movq	_MLXSW_REG_HTGT_POLICER_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_reg_htgt_pide_set
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_mlxsw_reg_htgt_pid_set
LBB0_3:
	movq	_MLXSW_REG_HTGT_PATH_TYPE_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_reg_htgt_type_set
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_reg_htgt_trap_group_set
	movq	_MLXSW_REG_HTGT_TRAP_TO_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_reg_htgt_mirror_action_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_reg_htgt_mirroring_agent_set
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_reg_htgt_priority_set
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mlxsw_reg_htgt_local_path_cpu_tclass_set
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_reg_htgt_local_path_rdq_set ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_htgt,4,2                       ## @htgt
	.comm	_MLXSW_REG_HTGT_INVALID_POLICER,8,3 ## @MLXSW_REG_HTGT_INVALID_POLICER
	.comm	_MLXSW_REG_HTGT_POLICER_DISABLE,4,2 ## @MLXSW_REG_HTGT_POLICER_DISABLE
	.comm	_MLXSW_REG_HTGT_POLICER_ENABLE,4,2 ## @MLXSW_REG_HTGT_POLICER_ENABLE
	.comm	_MLXSW_REG_HTGT_PATH_TYPE_LOCAL,4,2 ## @MLXSW_REG_HTGT_PATH_TYPE_LOCAL
	.comm	_MLXSW_REG_HTGT_TRAP_TO_CPU,4,2 ## @MLXSW_REG_HTGT_TRAP_TO_CPU
	.no_dead_strip	_mlxsw_reg_htgt_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_reg_htgt_pack
_mlxsw_reg_htgt_pack:                   ; @mlxsw_reg_htgt_pack
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _htgt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _htgt@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_MLXSW_REG_ZERO
Lloh3:
	adrp	x8, _MLXSW_REG_HTGT_INVALID_POLICER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_REG_HTGT_INVALID_POLICER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MLXSW_REG_HTGT_POLICER_DISABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLXSW_REG_HTGT_POLICER_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mlxsw_reg_htgt_pide_set
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _MLXSW_REG_HTGT_POLICER_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLXSW_REG_HTGT_POLICER_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mlxsw_reg_htgt_pide_set
	mov	x0, x21
	mov	x1, x23
	bl	_mlxsw_reg_htgt_pid_set
LBB0_3:
Lloh12:
	adrp	x8, _MLXSW_REG_HTGT_PATH_TYPE_LOCAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLXSW_REG_HTGT_PATH_TYPE_LOCAL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mlxsw_reg_htgt_type_set
	mov	x0, x21
	mov	x1, x19
	bl	_mlxsw_reg_htgt_trap_group_set
Lloh15:
	adrp	x8, _MLXSW_REG_HTGT_TRAP_TO_CPU@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLXSW_REG_HTGT_TRAP_TO_CPU@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mlxsw_reg_htgt_mirror_action_set
	mov	x0, x21
	mov	w1, #0
	bl	_mlxsw_reg_htgt_mirroring_agent_set
	mov	x0, x21
	mov	x1, x22
	bl	_mlxsw_reg_htgt_priority_set
	mov	x0, x21
	mov	x1, x20
	bl	_mlxsw_reg_htgt_local_path_cpu_tclass_set
	mov	x0, x21
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mlxsw_reg_htgt_local_path_rdq_set
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_htgt,4,2                       ; @htgt
	.comm	_MLXSW_REG_HTGT_INVALID_POLICER,8,3 ; @MLXSW_REG_HTGT_INVALID_POLICER
	.comm	_MLXSW_REG_HTGT_POLICER_DISABLE,4,2 ; @MLXSW_REG_HTGT_POLICER_DISABLE
	.comm	_MLXSW_REG_HTGT_POLICER_ENABLE,4,2 ; @MLXSW_REG_HTGT_POLICER_ENABLE
	.comm	_MLXSW_REG_HTGT_PATH_TYPE_LOCAL,4,2 ; @MLXSW_REG_HTGT_PATH_TYPE_LOCAL
	.comm	_MLXSW_REG_HTGT_TRAP_TO_CPU,4,2 ; @MLXSW_REG_HTGT_TRAP_TO_CPU
	.no_dead_strip	_mlxsw_reg_htgt_pack
.subsections_via_symbols
