	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcs7830_rev_C_fixup
_mcs7830_rev_C_fixup:                   ## @mcs7830_rev_C_fixup
	.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	_HIF_REG_PAUSE_THRESHOLD_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	callq	_mcs7830_get_rev
	cmpl	$2, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_HIF_REG_PAUSE_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_mcs7830_set_reg
LBB0_2:
	movl	$1, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_mcs7830_get_rev
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_HIF_REG_PAUSE_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_mcs7830_set_reg
LBB0_4:
	movl	$1, %edi
	callq	_msleep
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIF_REG_PAUSE_THRESHOLD_DEFAULT,4,2 ## @HIF_REG_PAUSE_THRESHOLD_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"applying rev.C fixup\n"

	.comm	_HIF_REG_PAUSE_THRESHOLD,4,2    ## @HIF_REG_PAUSE_THRESHOLD
	.no_dead_strip	_mcs7830_rev_C_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcs7830_rev_C_fixup
_mcs7830_rev_C_fixup:                   ; @mcs7830_rev_C_fixup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _HIF_REG_PAUSE_THRESHOLD_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIF_REG_PAUSE_THRESHOLD_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	bl	_mcs7830_get_rev
Lloh3:
	adrp	x20, _HIF_REG_PAUSE_THRESHOLD@GOTPAGE
Lloh4:
	ldr	x20, [x20, _HIF_REG_PAUSE_THRESHOLD@GOTPAGEOFF]
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w1, [x20]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_mcs7830_set_reg
LBB0_2:
	mov	w0, #1
	bl	_msleep
	mov	x0, x19
	bl	_mcs7830_get_rev
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w1, [x20]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_mcs7830_set_reg
LBB0_4:
	mov	w0, #1
	bl	_msleep
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HIF_REG_PAUSE_THRESHOLD_DEFAULT,4,2 ; @HIF_REG_PAUSE_THRESHOLD_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"applying rev.C fixup\n"

	.comm	_HIF_REG_PAUSE_THRESHOLD,4,2    ; @HIF_REG_PAUSE_THRESHOLD
	.no_dead_strip	_mcs7830_rev_C_fixup
.subsections_via_symbols
