	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function be_cmd_set_profile_config
LCPI0_0:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
LCPI0_1:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_be_cmd_set_profile_config
	.p2align	4, 0x90
_be_cmd_set_profile_config:             ## @be_cmd_set_profile_config
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_spin_lock_bh
	movq	%r12, %rdi
	callq	_wrb_from_mccq
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_embedded_payload
	movq	%rax, %rbx
	leaq	104(%rax), %rdi
	movq	_CMD_SUBSYSTEM_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPCODE_COMMON_SET_PROFILE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$112, %ecx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_be_wrb_cmd_hdr_prepare
	movq	%r15, 104(%rbx)
	movl	$1, %r13d
	movl	$1, %edi
	callq	_cpu_to_le32
	movq	%rax, 96(%rbx)
	movq	_NIC_RESOURCE_DESC_TYPE_V0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	_RESOURCE_DESC_SIZE_V0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	_QUN@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_IMM@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r13d
	btsl	%eax, %r13d
	movq	_NOSV@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %r13d
	movl	%r13d, (%rbx)
	movl	4(%r12), %eax
	movl	%eax, 80(%rbx)
	movq	%r15, 72(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [65535,65535,65535,65535]
	movups	%xmm0, 4(%rbx)
	movups	%xmm0, 20(%rbx)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [65535,65535,65535,255]
	movups	%xmm0, 36(%rbx)
	movabsq	$1099511627775, %rax            ## imm = 0xFFFFFFFFFF
	movq	%rax, 52(%rbx)
	movl	$15, 60(%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movl	%eax, 52(%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movq	%r12, %rdi
	callq	_be_mcc_notify_wait
	movl	%eax, %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_CMD_SUBSYSTEM_COMMON,4,2       ## @CMD_SUBSYSTEM_COMMON
	.comm	_OPCODE_COMMON_SET_PROFILE_CONFIG,4,2 ## @OPCODE_COMMON_SET_PROFILE_CONFIG
	.comm	_NIC_RESOURCE_DESC_TYPE_V0,4,2  ## @NIC_RESOURCE_DESC_TYPE_V0
	.comm	_RESOURCE_DESC_SIZE_V0,4,2      ## @RESOURCE_DESC_SIZE_V0
	.comm	_QUN,4,2                        ## @QUN
	.comm	_IMM,4,2                        ## @IMM
	.comm	_NOSV,4,2                       ## @NOSV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function be_cmd_set_profile_config
lCPI0_0:
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_be_cmd_set_profile_config
	.p2align	2
_be_cmd_set_profile_config:             ; @be_cmd_set_profile_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_wrb_from_mccq
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	bl	_embedded_payload
	mov	x21, x0
	add	x0, x0, #104
Lloh0:
	adrp	x8, _CMD_SUBSYSTEM_COMMON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SUBSYSTEM_COMMON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPCODE_COMMON_SET_PROFILE_CONFIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPCODE_COMMON_SET_PROFILE_CONFIG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #112
	mov	x4, x23
	mov	x5, #0
	bl	_be_wrb_cmd_hdr_prepare
	str	x22, [x21, #104]
	mov	w23, #1
	mov	w0, #1
	bl	_cpu_to_le32
	str	x0, [x21, #96]
Lloh6:
	adrp	x8, _NIC_RESOURCE_DESC_TYPE_V0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIC_RESOURCE_DESC_TYPE_V0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #88]
Lloh9:
	adrp	x8, _RESOURCE_DESC_SIZE_V0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RESOURCE_DESC_SIZE_V0@GOTPAGEOFF]
Lloh11:
	adrp	x9, _QUN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _QUN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	lsl	w9, w23, w9
Lloh14:
	adrp	x10, _IMM@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IMM@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w10, w23, w10
	orr	w9, w10, w9
Lloh17:
	adrp	x10, _NOSV@GOTPAGE
Lloh18:
	ldr	x10, [x10, _NOSV@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsl	w10, w23, w10
Lloh20:
	ldr	w8, [x8]
	orr	w9, w9, w10
	str	w9, [x21]
	ldr	w9, [x19, #4]
	stp	w9, w8, [x21, #80]
	str	x22, [x21, #72]
	movi.2d	v0, #0x00ffff0000ffff
	stur	q0, [x21, #4]
	stur	q0, [x21, #20]
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x21, #36]
	movi	d0, #0x0000ffffffffff
	stur	d0, [x21, #52]
	mov	w8, #15
	str	w8, [x21, #60]
	mov	x0, x20
	bl	_cpu_to_le32
	str	w0, [x21, #52]
	mov	x0, x20
	bl	_cpu_to_le32
	str	x0, [x21, #64]
	mov	x0, x19
	bl	_be_mcc_notify_wait
	mov	x20, x0
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _EBUSY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh20
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_CMD_SUBSYSTEM_COMMON,4,2       ; @CMD_SUBSYSTEM_COMMON
	.comm	_OPCODE_COMMON_SET_PROFILE_CONFIG,4,2 ; @OPCODE_COMMON_SET_PROFILE_CONFIG
	.comm	_NIC_RESOURCE_DESC_TYPE_V0,4,2  ; @NIC_RESOURCE_DESC_TYPE_V0
	.comm	_RESOURCE_DESC_SIZE_V0,4,2      ; @RESOURCE_DESC_SIZE_V0
	.comm	_QUN,4,2                        ; @QUN
	.comm	_IMM,4,2                        ; @IMM
	.comm	_NOSV,4,2                       ; @NOSV
.subsections_via_symbols
