	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib0090_get_offset
_dib0090_get_offset:                    ## @dib0090_get_offset
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	movq	_INTERN_WAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %r14d
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$7, %edx
	callq	_dib0090_write_reg
	movl	$129, %eax
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movl	$29, %esi
	callq	_dib0090_read_reg
	subl	%eax, (%rbx)
	movq	_CT_TUNER_STEP_5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	movl	$29, %esi
	callq	_dib0090_read_reg
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$4, %edx
	callq	_dib0090_write_reg
	movl	$128, %eax
LBB0_6:
	movl	%eax, (%r15)
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTERN_WAIT,4,2                ## @INTERN_WAIT
	.comm	_CT_TUNER_STEP_5,4,2            ## @CT_TUNER_STEP_5
	.no_dead_strip	_dib0090_get_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib0090_get_offset
_dib0090_get_offset:                    ; @dib0090_get_offset
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, _INTERN_WAIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTERN_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #2
	lsl	w20, w9, #1
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x21
	mov	w1, #31
	mov	w2, #7
	bl	_dib0090_write_reg
	mov	w8, #129
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	mov	w1, #29
	bl	_dib0090_read_reg
	mov	w20, #0
	ldr	w8, [x21]
	sub	w8, w8, w0
	str	w8, [x21]
Lloh3:
	adrp	x8, _CT_TUNER_STEP_5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CT_TUNER_STEP_5@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	mov	w1, #29
	bl	_dib0090_read_reg
	str	w0, [x21]
	mov	x0, x21
	mov	w1, #31
	mov	w2, #4
	bl	_dib0090_write_reg
	mov	w8, #128
LBB0_6:
	str	w8, [x19]
LBB0_7:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INTERN_WAIT,4,2                ; @INTERN_WAIT
	.comm	_CT_TUNER_STEP_5,4,2            ; @CT_TUNER_STEP_5
	.no_dead_strip	_dib0090_get_offset
.subsections_via_symbols
