	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_thermal_sensor_data_generic ## -- Begin function ixgbe_get_thermal_sensor_data_generic
	.p2align	4, 0x90
_ixgbe_get_thermal_sensor_data_generic: ## @ixgbe_get_thermal_sensor_data_generic
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_IXGBE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_STATUS_LAN_ID_1@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_IXGBE_NOT_IMPLEMENTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_2:
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ixgbe_get_ets_data
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:
	movq	_IXGBE_ETS_NUM_SENSORS_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	andq	-56(%rbp), %r15
	movq	_IXGBE_MAX_SENSORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r15
	cmovaeq	%rax, %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.4:
	negq	%r15
	movl	$1, %ebx
	leaq	-48(%rbp), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %r13
	leaq	(%r15,%rbx), %rax
	incq	%rax
	incq	%rbx
	cmpq	$1, %rax
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	*8(%r12)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax
	movq	_IXGBE_ETS_DATA_LOC_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	andq	%rax, %rdx
	movq	_IXGBE_ETS_DATA_LOC_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shrq	%cl, %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_IXGBE_ETS_DATA_INDEX_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_IXGBE_ETS_DATA_INDEX_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shrq	%cl, %rax
	movq	_ixgbe_emc_temp_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	_IXGBE_I2C_THERMAL_SENSOR_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r12), %rcx
	addq	%r13, %rcx
	movq	%r12, %rdi
	callq	*(%r12)
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_STATUS,4,2               ## @IXGBE_STATUS
	.comm	_IXGBE_STATUS_LAN_ID_1,4,2      ## @IXGBE_STATUS_LAN_ID_1
	.comm	_IXGBE_NOT_IMPLEMENTED,8,3      ## @IXGBE_NOT_IMPLEMENTED
	.comm	_IXGBE_ETS_NUM_SENSORS_MASK,8,3 ## @IXGBE_ETS_NUM_SENSORS_MASK
	.comm	_IXGBE_MAX_SENSORS,8,3          ## @IXGBE_MAX_SENSORS
	.comm	_IXGBE_ETS_DATA_INDEX_MASK,8,3  ## @IXGBE_ETS_DATA_INDEX_MASK
	.comm	_IXGBE_ETS_DATA_INDEX_SHIFT,8,3 ## @IXGBE_ETS_DATA_INDEX_SHIFT
	.comm	_IXGBE_ETS_DATA_LOC_MASK,8,3    ## @IXGBE_ETS_DATA_LOC_MASK
	.comm	_IXGBE_ETS_DATA_LOC_SHIFT,8,3   ## @IXGBE_ETS_DATA_LOC_SHIFT
	.comm	_ixgbe_emc_temp_data,8,3        ## @ixgbe_emc_temp_data
	.comm	_IXGBE_I2C_THERMAL_SENSOR_ADDR,4,2 ## @IXGBE_I2C_THERMAL_SENSOR_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_thermal_sensor_data_generic ; -- Begin function ixgbe_get_thermal_sensor_data_generic
	.p2align	2
_ixgbe_get_thermal_sensor_data_generic: ; @ixgbe_get_thermal_sensor_data_generic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _IXGBE_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IXGBE_READ_REG
Lloh3:
	adrp	x8, _IXGBE_STATUS_LAN_ID_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_STATUS_LAN_ID_1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _IXGBE_NOT_IMPLEMENTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_NOT_IMPLEMENTED@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_10
LBB0_2:
	add	x1, sp, #16
	add	x2, sp, #24
	mov	x0, x19
	bl	_ixgbe_get_ets_data
	cbnz	x0, LBB0_10
; %bb.3:
	ldr	x8, [sp, #16]
Lloh9:
	adrp	x9, _IXGBE_ETS_NUM_SENSORS_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_ETS_NUM_SENSORS_MASK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	and	x8, x9, x8
Lloh12:
	adrp	x9, _IXGBE_MAX_SENSORS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_MAX_SENSORS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x20, x8, x9, lo
	cbz	x20, LBB0_9
; %bb.4:
	mov	x21, #0
	mov	x22, #0
Lloh15:
	adrp	x23, _IXGBE_ETS_DATA_LOC_MASK@GOTPAGE
Lloh16:
	ldr	x23, [x23, _IXGBE_ETS_DATA_LOC_MASK@GOTPAGEOFF]
Lloh17:
	adrp	x24, _IXGBE_ETS_DATA_LOC_SHIFT@GOTPAGE
Lloh18:
	ldr	x24, [x24, _IXGBE_ETS_DATA_LOC_SHIFT@GOTPAGEOFF]
Lloh19:
	adrp	x25, _IXGBE_ETS_DATA_INDEX_MASK@GOTPAGE
Lloh20:
	ldr	x25, [x25, _IXGBE_ETS_DATA_INDEX_MASK@GOTPAGEOFF]
Lloh21:
	adrp	x26, _IXGBE_ETS_DATA_INDEX_SHIFT@GOTPAGE
Lloh22:
	ldr	x26, [x26, _IXGBE_ETS_DATA_INDEX_SHIFT@GOTPAGEOFF]
Lloh23:
	adrp	x27, _ixgbe_emc_temp_data@GOTPAGE
Lloh24:
	ldr	x27, [x27, _ixgbe_emc_temp_data@GOTPAGEOFF]
Lloh25:
	adrp	x28, _IXGBE_I2C_THERMAL_SENSOR_ADDR@GOTPAGE
Lloh26:
	ldr	x28, [x28, _IXGBE_I2C_THERMAL_SENSOR_ADDR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x21, x21, #4
	cmp	x20, x22
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #24]
	add	x9, x22, x9
	add	x1, x9, #1
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x23]
	and	x9, x9, x8
	ldr	x10, [x24]
	lsr	x9, x9, x10
	cbz	x9, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x25]
	and	x8, x9, x8
	ldr	x9, [x26]
	lsr	x8, x8, x9
	ldr	x9, [x19]
	ldr	x10, [x27]
	ldr	w1, [x10, x8, lsl #2]
	ldr	w2, [x28]
	ldr	x8, [x19, #16]
	add	x3, x8, x21
	mov	x0, x19
	blr	x9
	cbz	x0, LBB0_5
	b	LBB0_10
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_STATUS,4,2               ; @IXGBE_STATUS
	.comm	_IXGBE_STATUS_LAN_ID_1,4,2      ; @IXGBE_STATUS_LAN_ID_1
	.comm	_IXGBE_NOT_IMPLEMENTED,8,3      ; @IXGBE_NOT_IMPLEMENTED
	.comm	_IXGBE_ETS_NUM_SENSORS_MASK,8,3 ; @IXGBE_ETS_NUM_SENSORS_MASK
	.comm	_IXGBE_MAX_SENSORS,8,3          ; @IXGBE_MAX_SENSORS
	.comm	_IXGBE_ETS_DATA_INDEX_MASK,8,3  ; @IXGBE_ETS_DATA_INDEX_MASK
	.comm	_IXGBE_ETS_DATA_INDEX_SHIFT,8,3 ; @IXGBE_ETS_DATA_INDEX_SHIFT
	.comm	_IXGBE_ETS_DATA_LOC_MASK,8,3    ; @IXGBE_ETS_DATA_LOC_MASK
	.comm	_IXGBE_ETS_DATA_LOC_SHIFT,8,3   ; @IXGBE_ETS_DATA_LOC_SHIFT
	.comm	_ixgbe_emc_temp_data,8,3        ; @ixgbe_emc_temp_data
	.comm	_IXGBE_I2C_THERMAL_SENSOR_ADDR,4,2 ; @IXGBE_I2C_THERMAL_SENSOR_ADDR
.subsections_via_symbols
