	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_pktsched_cmd
_send_pktsched_cmd:                     ## @send_pktsched_cmd
	.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
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$28, %edi
	callq	_alloc_skb
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movq	(%r12), %r14
	testq	%r14, %r14
	je	LBB0_5
LBB0_3:
	movq	%r14, %rdi
	movl	$28, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movq	_FW_WROPCODE_MNGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_V_WR_OP
	movl	%eax, %edi
	callq	_htonl
	movl	%eax, 24(%rbx)
	movq	_FW_MNGTOPCODE_PKTSCHED_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	%r13d, (%rbx)
	movl	%r15d, 4(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rbx)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_t3_mgmt_tx
	movl	%eax, %ebx
	cmpq	(%r12), %r14
	jne	LBB0_6
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_alloc_skb
	movq	%rax, (%r12)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FW_WROPCODE_MNGT,4,2           ## @FW_WROPCODE_MNGT
	.comm	_FW_MNGTOPCODE_PKTSCHED_SET,4,2 ## @FW_MNGTOPCODE_PKTSCHED_SET
	.no_dead_strip	_send_pktsched_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_pktsched_cmd
_send_pktsched_cmd:                     ; @send_pktsched_cmd
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	w0, #28
	bl	_alloc_skb
	mov	x24, x0
	cbz	x0, LBB0_2
; %bb.1:
	cbnz	x24, LBB0_3
	b	LBB0_5
LBB0_2:
	ldr	x24, [x19]
	cbz	x24, LBB0_5
LBB0_3:
	mov	x0, x24
	mov	w1, #28
	bl	_skb_put
	mov	x26, x0
Lloh2:
	adrp	x8, _FW_WROPCODE_MNGT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FW_WROPCODE_MNGT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_V_WR_OP
	bl	_htonl
	str	w0, [x26, #24]
Lloh5:
	adrp	x8, _FW_MNGTOPCODE_PKTSCHED_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FW_MNGTOPCODE_PKTSCHED_SET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w25, w23, [x26]
	stp	w22, w21, [x26, #8]
	stp	w20, w8, [x26, #16]
	mov	x0, x19
	mov	x1, x24
	bl	_t3_mgmt_tx
	mov	x20, x0
	ldr	x8, [x19]
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w1, [x27]
	mov	w0, #4
	bl	_alloc_skb
	str	x0, [x19]
	cbnz	x0, LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FW_WROPCODE_MNGT,4,2           ; @FW_WROPCODE_MNGT
	.comm	_FW_MNGTOPCODE_PKTSCHED_SET,4,2 ; @FW_MNGTOPCODE_PKTSCHED_SET
	.no_dead_strip	_send_pktsched_cmd
.subsections_via_symbols
