	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pc87427_update_device
_pc87427_update_device:                 ## @pc87427_update_device
	.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
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_time_after
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_19
LBB0_2:
	movl	(%rbx), %eax
	testb	$1, %al
	jne	LBB0_3
## %bb.4:
	testb	$2, %al
	jne	LBB0_5
LBB0_6:
	testb	$4, %al
	jne	LBB0_7
LBB0_8:
	testb	$8, %al
	jne	LBB0_9
LBB0_10:
	testb	$16, %al
	jne	LBB0_11
LBB0_12:
	testb	$32, %al
	jne	LBB0_13
LBB0_14:
	testb	$64, %al
	jne	LBB0_15
LBB0_16:
	testb	$-128, %al
	je	LBB0_18
LBB0_17:
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_pc87427_readall_fan
LBB0_18:
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
LBB0_19:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$2, %al
	je	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$4, %al
	je	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$8, %al
	je	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$16, %al
	je	LBB0_12
LBB0_11:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$32, %al
	je	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$64, %al
	je	LBB0_16
LBB0_15:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_pc87427_readall_fan
	movl	(%rbx), %eax
	testb	$-128, %al
	jne	LBB0_17
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.no_dead_strip	_pc87427_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pc87427_update_device
_pc87427_update_device:                 ; @pc87427_update_device
	.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
	bl	_dev_get_drvdata
	mov	x19, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x21, _jiffies@GOTPAGE
Lloh1:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_after
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_12
LBB0_2:
	ldr	w8, [x19]
	tbnz	w8, #0, LBB0_13
; %bb.3:
	tbnz	w8, #1, LBB0_14
LBB0_4:
	tbnz	w8, #2, LBB0_15
LBB0_5:
	tbnz	w8, #3, LBB0_16
LBB0_6:
	tbnz	w8, #4, LBB0_17
LBB0_7:
	tbnz	w8, #5, LBB0_18
LBB0_8:
	tbnz	w8, #6, LBB0_19
LBB0_9:
	tbz	w8, #7, LBB0_11
LBB0_10:
	mov	x0, x19
	mov	w1, #7
	bl	_pc87427_readall_fan
LBB0_11:
	ldr	x8, [x21]
	str	x8, [x19, #8]
LBB0_12:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	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
LBB0_13:
	mov	x0, x19
	mov	w1, #0
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbz	w8, #1, LBB0_4
LBB0_14:
	mov	x0, x19
	mov	w1, #1
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbz	w8, #2, LBB0_5
LBB0_15:
	mov	x0, x19
	mov	w1, #2
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbz	w8, #3, LBB0_6
LBB0_16:
	mov	x0, x19
	mov	w1, #3
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbz	w8, #4, LBB0_7
LBB0_17:
	mov	x0, x19
	mov	w1, #4
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbz	w8, #5, LBB0_8
LBB0_18:
	mov	x0, x19
	mov	w1, #5
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbz	w8, #6, LBB0_9
LBB0_19:
	mov	x0, x19
	mov	w1, #6
	bl	_pc87427_readall_fan
	ldr	w8, [x19]
	tbnz	w8, #7, LBB0_10
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.no_dead_strip	_pc87427_update_device
.subsections_via_symbols
