	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_get_dcb_cfg                ## -- Begin function ice_get_dcb_cfg
	.p2align	4, 0x90
_ice_get_dcb_cfg:                       ## @ice_get_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_ice_aq_get_cee_dcb_cfg
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_ICE_AQ_RC_ENOENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movq	_ICE_DCBX_MODE_IEEE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	(%rax), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_3:
	movq	_ICE_DCBX_MODE_CEE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movl	-24(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, 8(%rbx)
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_ice_cee_to_dcb_cfg
	movq	(%r14), %rsi
LBB0_6:
	movq	%rbx, %rdi
	callq	_ice_get_ieee_or_cee_dcb_cfg
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_ICE_DCBX_MODE_CEE,8,3          ## @ICE_DCBX_MODE_CEE
	.comm	_ICE_AQ_RC_ENOENT,8,3           ## @ICE_AQ_RC_ENOENT
	.comm	_ICE_DCBX_MODE_IEEE,8,3         ## @ICE_DCBX_MODE_IEEE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_get_dcb_cfg                ; -- Begin function ice_get_dcb_cfg
	.p2align	2
_ice_get_dcb_cfg:                       ; @ice_get_dcb_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #16]
	add	x1, sp, #8
	mov	x2, #0
	bl	_ice_aq_get_cee_dcb_cfg
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ICE_AQ_RC_ENOENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICE_AQ_RC_ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _ICE_DCBX_MODE_IEEE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_DCBX_MODE_IEEE@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	ldr	x1, [x8]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x20, _ICE_DCBX_MODE_CEE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ICE_DCBX_MODE_CEE@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x19]
	ldr	w0, [sp, #8]
	bl	_le32_to_cpu
	str	w0, [x19, #8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_ice_cee_to_dcb_cfg
	ldr	x1, [x20]
LBB0_6:
	mov	x0, x19
	bl	_ice_get_ieee_or_cee_dcb_cfg
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_ICE_DCBX_MODE_CEE,8,3          ; @ICE_DCBX_MODE_CEE
	.comm	_ICE_AQ_RC_ENOENT,8,3           ; @ICE_AQ_RC_ENOENT
	.comm	_ICE_DCBX_MODE_IEEE,8,3         ; @ICE_DCBX_MODE_IEEE
.subsections_via_symbols
