	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rvu_mbox_handler_nix_mark_format_cfg
LCPI0_0:
	.long	16                              ## 0x10
	.long	256                             ## 0x100
	.long	4096                            ## 0x1000
	.long	65536                           ## 0x10000
LCPI0_1:
	.long	240                             ## 0xf0
	.long	3840                            ## 0xf00
	.long	61440                           ## 0xf000
	.long	458752                          ## 0x70000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rvu_mbox_handler_nix_mark_format_cfg
	.p2align	4, 0x90
_rvu_mbox_handler_nix_mark_format_cfg:  ## @rvu_mbox_handler_nix_mark_format_cfg
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	40(%rsi), %r15d
	movl	%r15d, %esi
	callq	_rvu_get_pfvf
	movq	%rax, %r14
	movq	_BLKTYPE_NIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_rvu_get_blkaddr
	cmpl	$0, (%r14)
	je	LBB0_5
## %bb.1:
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movl	4(%rbx), %edi
	movl	%r13d, %esi
	callq	_get_nix_hw
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movups	24(%r12), %xmm0
	movups	8(%r12), %xmm1
	shufps	$136, %xmm0, %xmm1              ## xmm1 = xmm1[0,2],xmm0[0,2]
	pmulld	LCPI0_0(%rip), %xmm1
	pand	LCPI0_1(%rip), %xmm1
	movl	(%r12), %edx
	andl	$15, %edx
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %ecx
	orl	%edx, %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	callq	_rvu_nix_reserve_mark_format
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_NIX_AF_ERR_AF_LF_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_7:
	movl	(%rbx), %ebx
	movl	%r15d, %edi
	callq	_rvu_get_pf
	movq	_RVU_PFVF_FUNC_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r15d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_dev_err
	movq	_NIX_AF_ERR_MARK_CFG_FAIL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKTYPE_NIX,4,2                ## @BLKTYPE_NIX
	.comm	_NIX_AF_ERR_AF_LF_INVALID,4,2   ## @NIX_AF_ERR_AF_LF_INVALID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No mark_format_ctl for (pf:%d, vf:%d)"

	.comm	_RVU_PFVF_FUNC_MASK,4,2         ## @RVU_PFVF_FUNC_MASK
	.comm	_NIX_AF_ERR_MARK_CFG_FAIL,4,2   ## @NIX_AF_ERR_MARK_CFG_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function rvu_mbox_handler_nix_mark_format_cfg
lCPI0_0:
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	12                              ; 0xc
	.long	16                              ; 0x10
lCPI0_1:
	.long	240                             ; 0xf0
	.long	3840                            ; 0xf00
	.long	61440                           ; 0xf000
	.long	458752                          ; 0x70000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rvu_mbox_handler_nix_mark_format_cfg
	.p2align	2
_rvu_mbox_handler_nix_mark_format_cfg:  ; @rvu_mbox_handler_nix_mark_format_cfg
	.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, x2
	mov	x22, x1
	mov	x21, x0
	ldr	w19, [x1, #40]
	mov	x1, x19
	bl	_rvu_get_pfvf
	mov	x24, x0
Lloh0:
	adrp	x8, _BLKTYPE_NIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLKTYPE_NIX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_rvu_get_blkaddr
	ldr	w8, [x24]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x23, x0
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w0, [x21, #4]
	mov	x1, x23
	bl	_get_nix_hw
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, x0
	ldur	q0, [x22, #24]
	ldur	q1, [x22, #8]
	uzp1.4s	v0, v1, v0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v1
	ldr	w8, [x22]
	and	w8, w8, #0xf
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w9, v0[1]
	fmov	w10, s0
	orr	w9, w10, w9
	orr	w3, w9, w8
	mov	x0, x21
	mov	x2, x23
	bl	_rvu_nix_reserve_mark_format
	tbnz	w0, #31, LBB0_7
; %bb.4:
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
	b	LBB0_9
LBB0_5:
Lloh7:
	adrp	x8, _NIX_AF_ERR_AF_LF_INVALID@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NIX_AF_ERR_AF_LF_INVALID@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	ldr	w20, [x21]
	mov	x0, x19
	bl	_rvu_get_pf
	mov	x2, x0
Lloh12:
	adrp	x8, _RVU_PFVF_FUNC_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RVU_PFVF_FUNC_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w3, w8, w19
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh17:
	adrp	x8, _NIX_AF_ERR_MARK_CFG_FAIL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NIX_AF_ERR_MARK_CFG_FAIL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKTYPE_NIX,4,2                ; @BLKTYPE_NIX
	.comm	_NIX_AF_ERR_AF_LF_INVALID,4,2   ; @NIX_AF_ERR_AF_LF_INVALID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No mark_format_ctl for (pf:%d, vf:%d)"

	.comm	_RVU_PFVF_FUNC_MASK,4,2         ; @RVU_PFVF_FUNC_MASK
	.comm	_NIX_AF_ERR_MARK_CFG_FAIL,4,2   ; @NIX_AF_ERR_MARK_CFG_FAIL
.subsections_via_symbols
