	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_sf2_sw_fixed_state
_bcm_sf2_sw_fixed_state:                ## @bcm_sf2_sw_fixed_state
	.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
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_bcm_sf2_to_priv
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	8(%rax), %rcx
	movslq	%ebx, %rax
	movl	(%rcx,%rax,4), %ecx
	movl	%ecx, (%r14)
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_netif_carrier_off
LBB0_3:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_5
LBB0_4:
	movl	$1, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.no_dead_strip	_bcm_sf2_sw_fixed_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_sf2_sw_fixed_state
_bcm_sf2_sw_fixed_state:                ; @bcm_sf2_sw_fixed_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_bcm_sf2_to_priv
	ldr	w8, [x0]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w8, [x8, w21, sxtw #2]
	str	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.2:
	sxtw	x8, w21
	ldr	x9, [x20]
	ldr	w0, [x9, x8, lsl #2]
	bl	_netif_carrier_off
LBB0_3:
Lloh0:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.no_dead_strip	_bcm_sf2_sw_fixed_state
.subsections_via_symbols
