	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function temp_show
_temp_show:                             ## @temp_show
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wil_dbg_misc
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wmi_get_all_temperatures
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:
	movl	-56(%rbp), %edi
	callq	_le32_to_cpu
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_print_temp
	movl	-72(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_printf
	movq	_WMI_MAX_XIF_PORTS_NUM@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_seq_printf
	movq	-64(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_le32_to_cpu
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_print_temp
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wil_dbg_misc
	leaq	-72(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_wmi_get_temperature
	testl	%eax, %eax
	je	LBB0_7
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_puts
LBB0_8:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-72(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_print_temp
	movl	-44(%rbp), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_print_temp
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF,4,2 ## @WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF is supported"

L_.str.1:                               ## @.str.1
	.asciz	"Failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"T_mac   ="

L_.str.3:                               ## @.str.3
	.asciz	"Connected RFs [0x%08x]\n"

	.comm	_WMI_MAX_XIF_PORTS_NUM,4,2      ## @WMI_MAX_XIF_PORTS_NUM
L_.str.4:                               ## @.str.4
	.asciz	"RF[%d]   = "

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF is not supported"

L_.str.7:                               ## @.str.7
	.asciz	"T_radio ="

	.no_dead_strip	_temp_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function temp_show
_temp_show:                             ; @temp_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wil_dbg_misc
	add	x1, sp, #8
	mov	x0, x20
	bl	_wmi_get_all_temperatures
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w0, [sp, #24]
	bl	_le32_to_cpu
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_print_temp
	ldr	w2, [sp, #8]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh9:
	adrp	x23, _WMI_MAX_XIF_PORTS_NUM@GOTPAGE
Lloh10:
	ldr	x23, [x23, _WMI_MAX_XIF_PORTS_NUM@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x20, #0
Lloh11:
	adrp	x21, l_.str.4@PAGE
Lloh12:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh13:
	adrp	x22, l_.str.5@PAGE
Lloh14:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_seq_printf
	ldr	x8, [sp, #16]
	ldr	w0, [x8, x20, lsl #2]
	bl	_le32_to_cpu
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_print_temp
	add	x20, x20, #1
	ldrsw	x8, [x23]
	cmp	x20, x8
	b.lt	LBB0_4
	b	LBB0_7
LBB0_5:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_wil_dbg_misc
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x20
	bl	_wmi_get_temperature
	cbz	w0, LBB0_8
LBB0_6:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	w2, [sp, #8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_print_temp
	ldr	w2, [sp, #4]
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_print_temp
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF,4,2 ; @WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF is supported"

l_.str.1:                               ; @.str.1
	.asciz	"Failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"T_mac   ="

l_.str.3:                               ; @.str.3
	.asciz	"Connected RFs [0x%08x]\n"

	.comm	_WMI_MAX_XIF_PORTS_NUM,4,2      ; @WMI_MAX_XIF_PORTS_NUM
l_.str.4:                               ; @.str.4
	.asciz	"RF[%d]   = "

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"WMI_FW_CAPABILITY_TEMPERATURE_ALL_RF is not supported"

l_.str.7:                               ; @.str.7
	.asciz	"T_radio ="

	.no_dead_strip	_temp_show
.subsections_via_symbols
