	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_tempsense_upd          ## -- Begin function brcms_c_tempsense_upd
	.p2align	4, 0x90
_brcms_c_tempsense_upd:                 ## @brcms_c_tempsense_upd
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	callq	_wlc_phy_stf_chain_active_get
	andl	$15, %eax
	movq	(%rbx), %rdx
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_4
## %bb.1:
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	cmpl	%ecx, %eax
	jl	LBB0_3
	jmp	LBB0_6
LBB0_4:
	jge	LBB0_6
## %bb.5:
	cmpl	%edx, %eax
	jne	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_brcms_c_stf_txchain_set        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_tempsense_upd          ; -- Begin function brcms_c_tempsense_upd
	.p2align	2
_brcms_c_tempsense_upd:                 ; @brcms_c_tempsense_upd
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8]
	bl	_wlc_phy_stf_chain_active_get
	and	w1, w0, #0xf
	ldr	x9, [x19]
	ldp	w8, w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	cmp	w1, #0
	ccmp	w1, w8, #0, ne
	b.ge	LBB0_4
LBB0_2:
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_brcms_c_stf_txchain_set
LBB0_3:
	ccmp	w1, w9, #0, lt
	b.eq	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
