	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm8211_update_mode
_adm8211_update_mode:                   ## @adm8211_update_mode
	.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
	xorl	%eax, %eax
	callq	_ADM8211_IDLE
	movl	$0, (%rbx)
	movl	4(%rbx), %eax
	cmpl	$130, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.3:
	movq	_ADM8211_NAR_PR@GOTPCREL(%rip), %rax
	movq	_ADM8211_NAR_EA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	8(%rbx), %ecx
	movq	_ADM8211_NAR_ST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ADM8211_NAR_EA@GOTPCREL(%rip), %rax
	movq	_ADM8211_NAR_ST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	8(%rbx), %ecx
	movq	_ADM8211_NAR_PR@GOTPCREL(%rip), %rax
LBB0_7:
	orl	(%rax), %ecx
	movq	_ADM8211_NAR_SR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	jmp	LBB0_8
LBB0_4:
	movq	_ADM8211_NAR_PR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	8(%rbx), %eax
	movq	_ADM8211_NAR_EA@GOTPCREL(%rip), %rcx
	movq	_ADM8211_NAR_ST@GOTPCREL(%rip), %rdx
	movq	_ADM8211_NAR_SR@GOTPCREL(%rip), %rsi
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	movq	_ADM8211_REV_BA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_8
## %bb.5:
	movl	$1, (%rbx)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ADM8211_RESTORE                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADM8211_NAR_PR,4,2             ## @ADM8211_NAR_PR
	.comm	_ADM8211_NAR_EA,4,2             ## @ADM8211_NAR_EA
	.comm	_ADM8211_NAR_ST,4,2             ## @ADM8211_NAR_ST
	.comm	_ADM8211_NAR_SR,4,2             ## @ADM8211_NAR_SR
	.comm	_ADM8211_REV_BA,4,2             ## @ADM8211_REV_BA
	.no_dead_strip	_adm8211_update_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm8211_update_mode
_adm8211_update_mode:                   ; @adm8211_update_mode
	.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
	ldr	x19, [x0]
	bl	_ADM8211_IDLE
	str	wzr, [x19]
	ldr	w8, [x19, #4]
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _ADM8211_NAR_PR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADM8211_NAR_PR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ADM8211_NAR_EA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADM8211_NAR_EA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
Lloh6:
	adrp	x9, _ADM8211_NAR_ST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ADM8211_NAR_ST@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ADM8211_NAR_EA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ADM8211_NAR_EA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ADM8211_NAR_ST@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADM8211_NAR_ST@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
Lloh14:
	adrp	x9, _ADM8211_NAR_PR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ADM8211_NAR_PR@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _ADM8211_NAR_SR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ADM8211_NAR_SR@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [x19, #8]
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x8, _ADM8211_NAR_PR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ADM8211_NAR_PR@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
Lloh22:
	adrp	x10, _ADM8211_NAR_EA@GOTPAGE
Lloh23:
	ldr	x10, [x10, _ADM8211_NAR_EA@GOTPAGEOFF]
	bic	w8, w9, w8
Lloh24:
	ldr	w9, [x10]
Lloh25:
	adrp	x10, _ADM8211_NAR_ST@GOTPAGE
Lloh26:
	ldr	x10, [x10, _ADM8211_NAR_ST@GOTPAGEOFF]
Lloh27:
	adrp	x11, _ADM8211_NAR_SR@GOTPAGE
Lloh28:
	ldr	x11, [x11, _ADM8211_NAR_SR@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
Lloh30:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	str	w8, [x19, #8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _ADM8211_REV_BA@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ADM8211_REV_BA@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ADM8211_RESTORE
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ADM8211_NAR_PR,4,2             ; @ADM8211_NAR_PR
	.comm	_ADM8211_NAR_EA,4,2             ; @ADM8211_NAR_EA
	.comm	_ADM8211_NAR_ST,4,2             ; @ADM8211_NAR_ST
	.comm	_ADM8211_NAR_SR,4,2             ; @ADM8211_NAR_SR
	.comm	_ADM8211_REV_BA,4,2             ; @ADM8211_REV_BA
	.no_dead_strip	_adm8211_update_mode
.subsections_via_symbols
