	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4_setstate
_cxgb4_setstate:                        ## @cxgb4_setstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_netdev2pinfo
	movq	(%rax), %rcx
	movq	_CXGB4_DCB_STATE_HOST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	%ebx, 8(%rax)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_CXGB4_DCB_STATE_FW_ALLSYNCED@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpq	(%rax), %rcx
	sete	%dl
	xorl	%eax, %eax
	cmpl	%ebx, %edx
	setne	%al
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CXGB4_DCB_STATE_HOST,8,3       ## @CXGB4_DCB_STATE_HOST
	.comm	_CXGB4_DCB_STATE_FW_ALLSYNCED,8,3 ## @CXGB4_DCB_STATE_FW_ALLSYNCED
	.no_dead_strip	_cxgb4_setstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb4_setstate
_cxgb4_setstate:                        ; @cxgb4_setstate
	.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
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _CXGB4_DCB_STATE_HOST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CXGB4_DCB_STATE_HOST@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	str	w19, [x8, #8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _CXGB4_DCB_STATE_FW_ALLSYNCED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CXGB4_DCB_STATE_FW_ALLSYNCED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w8, eq
	cmp	w8, w19
	cset	w0, ne
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CXGB4_DCB_STATE_HOST,8,3       ; @CXGB4_DCB_STATE_HOST
	.comm	_CXGB4_DCB_STATE_FW_ALLSYNCED,8,3 ; @CXGB4_DCB_STATE_FW_ALLSYNCED
	.no_dead_strip	_cxgb4_setstate
.subsections_via_symbols
