	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_xps
_update_xps:                            ## @update_xps
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_dpaa2_eth_queue_count
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	movl	$1, %r15d
	cmovnel	%ecx, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	imull	%eax, %r15d
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	movl	%ebx, %eax
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	movl	%edx, %r14d
	movq	%r13, %rdi
	callq	_cpumask_clear
	movl	(%r12,%r14,4), %edi
	movq	%r13, %rsi
	callq	_cpumask_set_cpu
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_netif_set_xps_queue
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_2
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_warn_once
LBB0_7:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error setting XPS queue\n"

	.no_dead_strip	_update_xps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_xps
_update_xps:                            ; @update_xps
	.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	x20, x0
	ldr	x19, [x0, #8]
	bl	_dpaa2_eth_queue_count
	ldr	x8, [x19]
	cmp	x8, #0
	csinc	w8, w8, wzr, ne
	mul	w24, w8, w0
	cmp	w24, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, x0
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20]
	sdiv	w8, w22, w21
	msub	w25, w8, w21, w22
	add	x0, sp, #8
	bl	_cpumask_clear
	ldr	w0, [x23, w25, uxtw #2]
	add	x1, sp, #8
	bl	_cpumask_set_cpu
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_netif_set_xps_queue
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	cmp	w24, w22
	b.ne	LBB0_2
LBB0_4:
	mov	w23, #0
	b	LBB0_6
LBB0_5:
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn_once
LBB0_6:
	mov	x0, x23
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error setting XPS queue\n"

	.no_dead_strip	_update_xps
.subsections_via_symbols
