	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_set_dcb_cfg                ## -- Begin function ice_set_dcb_cfg
	.p2align	4, 0x90
_ice_set_dcb_cfg:                       ## @ice_set_dcb_cfg
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_ice_hw_to_dev
	movq	_ICE_LLDPDU_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r15
	movq	_SET_LOCAL_MIB_TYPE_LOCAL_MIB@GOTPCREL(%rip), %rax
	movq	(%rbx), %rcx
	movq	_ICE_DCBX_APPS_NON_WILLING@GOTPCREL(%rip), %rdx
	movl	$0, %r12d
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_SET_LOCAL_MIB_TYPE_CEE_NON_WILLING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_4:
	orl	(%rax), %r12d
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_ice_dcb_cfg_to_lldp
	movl	-36(%rbp), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_ice_aq_set_lldp_mib
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ice_hw_to_dev
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_devm_kfree
	jmp	LBB0_8
LBB0_5:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ICE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_ICE_LLDPDU_SIZE,4,2            ## @ICE_LLDPDU_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ICE_ERR_NO_MEMORY,4,2          ## @ICE_ERR_NO_MEMORY
	.comm	_SET_LOCAL_MIB_TYPE_LOCAL_MIB,4,2 ## @SET_LOCAL_MIB_TYPE_LOCAL_MIB
	.comm	_ICE_DCBX_APPS_NON_WILLING,8,3  ## @ICE_DCBX_APPS_NON_WILLING
	.comm	_SET_LOCAL_MIB_TYPE_CEE_NON_WILLING,4,2 ## @SET_LOCAL_MIB_TYPE_CEE_NON_WILLING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_set_dcb_cfg                ; -- Begin function ice_set_dcb_cfg
	.p2align	2
_ice_set_dcb_cfg:                       ; @ice_set_dcb_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_ice_hw_to_dev
Lloh0:
	adrp	x8, _ICE_LLDPDU_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_LLDPDU_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x8, _SET_LOCAL_MIB_TYPE_LOCAL_MIB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SET_LOCAL_MIB_TYPE_LOCAL_MIB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x21]
Lloh9:
	adrp	x10, _ICE_DCBX_APPS_NON_WILLING@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ICE_DCBX_APPS_NON_WILLING@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, _SET_LOCAL_MIB_TYPE_CEE_NON_WILLING@GOTPAGE
Lloh13:
	ldr	x11, [x11, _SET_LOCAL_MIB_TYPE_CEE_NON_WILLING@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w22, w9, w8
	add	x1, sp, #12
	mov	x2, x21
	bl	_ice_dcb_cfg_to_lldp
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x4, #0
	bl	_ice_aq_set_lldp_mib
	mov	x21, x0
	mov	x0, x19
	bl	_ice_hw_to_dev
	mov	x1, x20
	bl	_devm_kfree
	b	LBB0_6
LBB0_3:
Lloh15:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _ICE_ERR_NO_MEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ICE_ERR_NO_MEMORY@GOTPAGEOFF]
LBB0_5:
	ldr	w21, [x8]
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_ICE_LLDPDU_SIZE,4,2            ; @ICE_LLDPDU_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ICE_ERR_NO_MEMORY,4,2          ; @ICE_ERR_NO_MEMORY
	.comm	_SET_LOCAL_MIB_TYPE_LOCAL_MIB,4,2 ; @SET_LOCAL_MIB_TYPE_LOCAL_MIB
	.comm	_ICE_DCBX_APPS_NON_WILLING,8,3  ; @ICE_DCBX_APPS_NON_WILLING
	.comm	_SET_LOCAL_MIB_TYPE_CEE_NON_WILLING,4,2 ; @SET_LOCAL_MIB_TYPE_CEE_NON_WILLING
.subsections_via_symbols
