	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_SET_VPORT_QOS_set         ## -- Begin function mlx4_SET_VPORT_QOS_set
	.p2align	4, 0x90
_mlx4_SET_VPORT_QOS_set:                ## @mlx4_SET_VPORT_QOS_set
	.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	%rcx, %rbx
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r14
	callq	_mlx4_alloc_cmd_mailbox
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_MLX4_NUM_UP@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_4
## %bb.2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15), %edi
	callq	_cpu_to_be32
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx,%r15,2)
	movl	4(%rbx,%r15), %edi
	callq	_cpu_to_be32
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx,%r15,2)
	movl	8(%rbx,%r15), %edi
	shll	$31, %edi
	callq	_cpu_to_be32
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%r15,2)
	incq	%r13
	movslq	(%r12), %rax
	addq	$12, %r15
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_4:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	shll	$8, %edx
	orl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	_MLX4_SET_VPORT_QOS_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MLX4_CMD_SET_VPORT_QOS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MLX4_CMD_TIME_CLASS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MLX4_CMD_NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_mlx4_cmd
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlx4_free_cmd_mailbox
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_NUM_UP,4,2                ## @MLX4_NUM_UP
	.comm	_MLX4_SET_VPORT_QOS_SET,4,2     ## @MLX4_SET_VPORT_QOS_SET
	.comm	_MLX4_CMD_SET_VPORT_QOS,4,2     ## @MLX4_CMD_SET_VPORT_QOS
	.comm	_MLX4_CMD_TIME_CLASS_A,4,2      ## @MLX4_CMD_TIME_CLASS_A
	.comm	_MLX4_CMD_NATIVE,4,2            ## @MLX4_CMD_NATIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_SET_VPORT_QOS_set         ; -- Begin function mlx4_SET_VPORT_QOS_set
	.p2align	2
_mlx4_SET_VPORT_QOS_set:                ; @mlx4_SET_VPORT_QOS_set
	.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	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_mlx4_alloc_cmd_mailbox
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	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
	b	_PTR_ERR
LBB0_2:
Lloh0:
	adrp	x24, _MLX4_NUM_UP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MLX4_NUM_UP@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x25, #0
	mov	x26, #0
	ldr	x27, [x20, #8]
	add	x23, x23, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x23, #-4]
	bl	_cpu_to_be32
	ldr	x8, [x27]
	add	x8, x8, x25
	str	x0, [x8, #16]
	ldr	w0, [x23]
	bl	_cpu_to_be32
	ldr	x8, [x27]
	add	x8, x8, x25
	str	x0, [x8, #8]
	ldr	w8, [x23, #4]
	lsl	w0, w8, #31
	bl	_cpu_to_be32
	ldr	x8, [x27]
	str	x0, [x8, x25]
	add	x26, x26, #1
	ldrsw	x8, [x24]
	add	x25, x25, #24
	add	x23, x23, #12
	cmp	x26, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	w1, [x20]
	orr	w2, w22, w21, lsl #8
Lloh2:
	adrp	x8, _MLX4_SET_VPORT_QOS_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX4_SET_VPORT_QOS_SET@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _MLX4_CMD_SET_VPORT_QOS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX4_CMD_SET_VPORT_QOS@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x8, _MLX4_CMD_TIME_CLASS_A@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_A@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
Lloh11:
	adrp	x8, _MLX4_CMD_NATIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX4_CMD_NATIVE@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	mov	x0, x19
	bl	_mlx4_cmd
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_free_cmd_mailbox
	mov	x0, x21
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_NUM_UP,4,2                ; @MLX4_NUM_UP
	.comm	_MLX4_SET_VPORT_QOS_SET,4,2     ; @MLX4_SET_VPORT_QOS_SET
	.comm	_MLX4_CMD_SET_VPORT_QOS,4,2     ; @MLX4_CMD_SET_VPORT_QOS
	.comm	_MLX4_CMD_TIME_CLASS_A,4,2      ; @MLX4_CMD_TIME_CLASS_A
	.comm	_MLX4_CMD_NATIVE,4,2            ; @MLX4_CMD_NATIVE
.subsections_via_symbols
