	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_dsaf_mix_def_qid_cfg
_hns_dsaf_mix_def_qid_cfg:              ## @hns_dsaf_mix_def_qid_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_hns_rcb_get_queue_mode
	movq	_DSAF_SERVICE_NW_NUM@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_3
## %bb.1:
	movl	-52(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_DSAF_MIX_DEF_QID_0_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	movl	$255, %edx
	movq	%rcx, %r14
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	_dsaf_set_dev_field
	movq	%r14, %rcx
	addl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	incq	%r15
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSAF_SERVICE_NW_NUM,4,2        ## @DSAF_SERVICE_NW_NUM
	.comm	_DSAF_MIX_DEF_QID_0_REG,8,3     ## @DSAF_MIX_DEF_QID_0_REG
	.no_dead_strip	_hns_dsaf_mix_def_qid_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_dsaf_mix_def_qid_cfg
_hns_dsaf_mix_def_qid_cfg:              ; @hns_dsaf_mix_def_qid_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w0, [x0]
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_hns_rcb_get_queue_mode
Lloh0:
	adrp	x21, _DSAF_SERVICE_NW_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DSAF_SERVICE_NW_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
	mov	w20, #0
	ldp	w8, w9, [sp, #8]
	mul	w24, w9, w8
Lloh2:
	adrp	x25, _DSAF_MIX_DEF_QID_0_REG@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DSAF_MIX_DEF_QID_0_REG@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x1, x22, x8
	mov	x0, x19
	mov	w2, #255
	mov	w3, #0
	mov	x4, x20
	bl	_dsaf_set_dev_field
	add	w20, w20, w24
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DSAF_SERVICE_NW_NUM,4,2        ; @DSAF_SERVICE_NW_NUM
	.comm	_DSAF_MIX_DEF_QID_0_REG,8,3     ; @DSAF_MIX_DEF_QID_0_REG
	.no_dead_strip	_hns_dsaf_mix_def_qid_cfg
.subsections_via_symbols
