	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_stf_stbc_rx_set        ## -- Begin function brcms_c_stf_stbc_rx_set
	.p2align	4, 0x90
_brcms_c_stf_stbc_rx_set:               ## @brcms_c_stf_stbc_rx_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_HT_CAP_RX_STBC_NO@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	cmpq	%rsi, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_HT_CAP_RX_STBC_ONE_STREAM@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_6
LBB0_2:
	movq	%r15, %rdi
	callq	_BRCMS_STF_SS_STBC_RX
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpq	%rbx, (%r12)
	je	LBB0_5
## %bb.4:
	movq	(%r15), %rax
	cmpl	$1, (%rax)
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_brcms_c_stf_stbc_rx_ht_update
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_CAP_RX_STBC_NO,8,3          ## @HT_CAP_RX_STBC_NO
	.comm	_HT_CAP_RX_STBC_ONE_STREAM,8,3  ## @HT_CAP_RX_STBC_ONE_STREAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_stf_stbc_rx_set        ; -- Begin function brcms_c_stf_stbc_rx_set
	.p2align	2
_brcms_c_stf_stbc_rx_set:               ; @brcms_c_stf_stbc_rx_set
	.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
Lloh0:
	adrp	x21, _HT_CAP_RX_STBC_NO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HT_CAP_RX_STBC_NO@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _HT_CAP_RX_STBC_ONE_STREAM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HT_CAP_RX_STBC_ONE_STREAM@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_BRCMS_STF_SS_STBC_RX
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x21]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_brcms_c_stf_stbc_rx_ht_update
	mov	w0, #1
LBB0_6:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_CAP_RX_STBC_NO,8,3          ; @HT_CAP_RX_STBC_NO
	.comm	_HT_CAP_RX_STBC_ONE_STREAM,8,3  ; @HT_CAP_RX_STBC_ONE_STREAM
.subsections_via_symbols
