	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4_setdcbx
_cxgb4_setdcbx:                         ## @cxgb4_setdcbx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_netdev2pinfo
	movq	_CXGB4_DCBX_FW_SUPPORT@GOTPCREL(%rip), %rcx
	movq	_CXGB4_DCBX_HOST_SUPPORT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	movl	$1, %r14d
	testl	%edx, %ebx
	jne	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movl	4(%rax), %edi
	callq	_cxgb4_dcb_state_synced
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	cmpl	%ebx, (%r15)
	jne	LBB0_4
## %bb.3:
	movl	%ebx, (%r15)
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CXGB4_DCBX_FW_SUPPORT,4,2      ## @CXGB4_DCBX_FW_SUPPORT
	.comm	_CXGB4_DCBX_HOST_SUPPORT,4,2    ## @CXGB4_DCBX_HOST_SUPPORT
	.no_dead_strip	_cxgb4_setdcbx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb4_setdcbx
_cxgb4_setdcbx:                         ; @cxgb4_setdcbx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev2pinfo
Lloh0:
	adrp	x8, _CXGB4_DCBX_FW_SUPPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CXGB4_DCBX_FW_SUPPORT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CXGB4_DCBX_HOST_SUPPORT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CXGB4_DCBX_HOST_SUPPORT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w19, w8
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_cxgb4_dcb_state_synced
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	str	w19, [x20]
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CXGB4_DCBX_FW_SUPPORT,4,2      ; @CXGB4_DCBX_FW_SUPPORT
	.comm	_CXGB4_DCBX_HOST_SUPPORT,4,2    ; @CXGB4_DCBX_HOST_SUPPORT
	.no_dead_strip	_cxgb4_setdcbx
.subsections_via_symbols
