	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netif_set_real_num_tx_queues   ## -- Begin function netif_set_real_num_tx_queues
	.p2align	4, 0x90
_netif_set_real_num_tx_queues:          ## @netif_set_real_num_tx_queues
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_9
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	cmpl	%esi, (%rdi)
	jb	LBB0_9
## %bb.2:
	movq	8(%r14), %rax
	movq	_NETREG_REGISTERED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_NETREG_UNREGISTERING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movl	16(%r14), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_netdev_queue_update_kobjects
	movq	%r14, %rdi
	callq	_netdev_extended
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netif_setup_tc
LBB0_6:
	cmpl	%ebx, 16(%r14)
	jbe	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_qdisc_reset_all_tx_gt
LBB0_8:
	movl	%ebx, 16(%r14)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETREG_REGISTERED,8,3          ## @NETREG_REGISTERED
	.comm	_NETREG_UNREGISTERING,8,3       ## @NETREG_UNREGISTERING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netif_set_real_num_tx_queues   ; -- Begin function netif_set_real_num_tx_queues
	.p2align	2
_netif_set_real_num_tx_queues:          ; @netif_set_real_num_tx_queues
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	w1, LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.lo	LBB0_8
; %bb.2:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _NETREG_REGISTERED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETREG_REGISTERED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _NETREG_UNREGISTERING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETREG_UNREGISTERING@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.3:
	bl	_ASSERT_RTNL
	ldr	w1, [x20, #16]
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_queue_update_kobjects
	mov	x0, x20
	bl	_netdev_extended
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_netif_setup_tc
LBB0_5:
	ldr	w8, [x20, #16]
	cmp	w8, w19
	b.ls	LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_qdisc_reset_all_tx_gt
LBB0_7:
	str	w19, [x20, #16]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETREG_REGISTERED,8,3          ; @NETREG_REGISTERED
	.comm	_NETREG_UNREGISTERING,8,3       ; @NETREG_UNREGISTERING
.subsections_via_symbols
