	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_stf_ss_update          ## -- Begin function brcms_c_stf_ss_update
	.p2align	4, 0x90
_brcms_c_stf_ss_update:                 ## @brcms_c_stf_ss_update
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	callq	_BRCMS_STBC_CAP_PHY
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	8(%rbx), %rdi
	cmpq	$0, 24(%rdi)
	je	LBB0_6
## %bb.2:
	cmpq	$-1, 8(%rdi)
	je	LBB0_6
## %bb.3:
	cmpl	$1, 16(%rdi)
	je	LBB0_8
## %bb.4:
	addq	$8, %rdi
	movq	_PHY_TXC1_MODE_SISO@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	callq	_isset
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movq	_PHY_TXC1_MODE_CDD@GOTPCREL(%rip), %r14
	jmp	LBB0_9
LBB0_6:
	cmpq	%r14, 16(%rbx)
	jne	LBB0_11
## %bb.7:
	movq	8(%rbx), %rax
	cmpl	$1, 16(%rax)
	jne	LBB0_9
LBB0_8:
	movq	_PHY_TXC1_MODE_SISO@GOTPCREL(%rip), %r14
LBB0_9:
	movq	(%r14), %rsi
	cmpq	%rsi, %r15
	je	LBB0_11
## %bb.10:
	movq	8(%rbx), %rax
	movq	%rsi, (%rax)
	movl	(%rbx), %edi
	callq	_brcms_b_band_stf_ss_set
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_TXC1_MODE_SISO,8,3         ## @PHY_TXC1_MODE_SISO
	.comm	_PHY_TXC1_MODE_CDD,8,3          ## @PHY_TXC1_MODE_CDD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_stf_ss_update          ; -- Begin function brcms_c_stf_ss_update
	.p2align	2
_brcms_c_stf_ss_update:                 ; @brcms_c_stf_ss_update
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	bl	_BRCMS_STBC_CAP_PHY
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_5
; %bb.2:
	mov	x0, x8
	ldr	x9, [x0, #8]!
	cmn	x9, #1
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x8, #16]
Lloh0:
	adrp	x20, _PHY_TXC1_MODE_SISO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PHY_TXC1_MODE_SISO@GOTPAGEOFF]
	cmp	w8, #1
	b.eq	LBB0_7
; %bb.4:
	ldr	x1, [x20]
	bl	_isset
Lloh2:
	adrp	x8, _PHY_TXC1_MODE_CDD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHY_TXC1_MODE_CDD@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x20, eq
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19, #16]
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #16]
Lloh4:
	adrp	x9, _PHY_TXC1_MODE_SISO@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PHY_TXC1_MODE_SISO@GOTPAGEOFF]
	cmp	w8, #1
	csel	x20, x9, x20, eq
LBB0_7:
	ldr	x1, [x20]
	cmp	x21, x1
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	str	x1, [x8]
	ldr	w0, [x19]
	bl	_brcms_b_band_stf_ss_set
LBB0_9:
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_TXC1_MODE_SISO,8,3         ; @PHY_TXC1_MODE_SISO
	.comm	_PHY_TXC1_MODE_CDD,8,3          ; @PHY_TXC1_MODE_CDD
.subsections_via_symbols
