	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000m_set_adc_state
_dib7000m_set_adc_state:                ## @dib7000m_set_adc_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r13
	movl	$913, %esi                      ## imm = 0x391
	callq	_dib7000m_read_word
	movl	%eax, %r15d
	movq	%r13, %rdi
	movl	$914, %esi                      ## imm = 0x392
	callq	_dib7000m_read_word
	movl	%eax, %r14d
	xorl	%r12d, %r12d
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	andl	$-32769, %r15d                  ## imm = 0xFFFF7FFF
	jmp	LBB0_11
LBB0_3:
	cmpl	$16384, (%r13)                  ## imm = 0x4000
	jne	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	movl	$913, %esi                      ## imm = 0x391
	xorl	%edx, %edx
	callq	_dib7000m_write_word
	andl	$3, %r14d
	movq	%r13, %rdi
	movl	$914, %esi                      ## imm = 0x392
	movl	%r14d, %edx
	callq	_dib7000m_write_word
	movq	%r13, %rdi
	movl	$913, %esi                      ## imm = 0x391
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_dib7000m_write_word
	movq	%r13, %rdi
	movl	$914, %esi                      ## imm = 0x392
	movl	%r14d, %edx
	callq	_dib7000m_write_word
	jmp	LBB0_10
LBB0_5:
	orl	$32768, %r15d                   ## imm = 0x8000
	jmp	LBB0_11
LBB0_6:
	orl	$3, %r14d
	movq	%r13, %rdi
	movl	$914, %esi                      ## imm = 0x392
	movl	%r14d, %edx
	callq	_dib7000m_write_word
	movl	%eax, %r12d
	andl	$-3, %r14d
	jmp	LBB0_11
LBB0_7:
	orl	$3, %r14d
	jmp	LBB0_11
LBB0_8:
	orl	$28672, %r15d                   ## imm = 0x7000
	orl	$60, %r14d
	jmp	LBB0_11
LBB0_9:
	andl	$3, %r14d
LBB0_10:
	andl	$4095, %r15d                    ## imm = 0xFFF
LBB0_11:
	movq	%r13, %rdi
	movl	$913, %esi                      ## imm = 0x391
	movl	%r15d, %edx
	callq	_dib7000m_write_word
	movl	%eax, %ebx
	orl	%r12d, %ebx
	movq	%r13, %rdi
	movl	$914, %esi                      ## imm = 0x392
	movl	%r14d, %edx
	callq	_dib7000m_write_word
	orl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_dib7000m_set_adc_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000m_set_adc_state
_dib7000m_set_adc_state:                ; @dib7000m_set_adc_state
	.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	x22, x1
	mov	x19, x0
	mov	w1, #913
	bl	_dib7000m_read_word
	mov	x20, x0
	mov	x0, x19
	mov	w1, #914
	bl	_dib7000m_read_word
	mov	x21, x0
	sub	w8, w22, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w22, #0
	and	w20, w20, #0xffff7fff
	b	LBB0_12
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #4, lsl #12                 ; =16384
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x19
	mov	w1, #913
	mov	w2, #0
	bl	_dib7000m_write_word
	and	w21, w21, #0x3
	mov	x0, x19
	mov	w1, #914
	mov	x2, x21
	bl	_dib7000m_write_word
	mov	x0, x19
	mov	w1, #913
	mov	w2, #32768
	bl	_dib7000m_write_word
	mov	x0, x19
	mov	w1, #914
	mov	x2, x21
	bl	_dib7000m_write_word
	b	LBB0_11
LBB0_5:
	mov	w22, #0
	b	LBB0_12
LBB0_6:
	mov	w22, #0
	orr	w20, w20, #0x8000
	b	LBB0_12
LBB0_7:
	orr	w21, w21, #0x3
	mov	x0, x19
	mov	w1, #914
	mov	x2, x21
	bl	_dib7000m_write_word
	mov	x22, x0
	and	w21, w21, #0xfffffffd
	b	LBB0_12
LBB0_8:
	mov	w22, #0
	orr	w21, w21, #0x3
	b	LBB0_12
LBB0_9:
	mov	w22, #0
	orr	w20, w20, #0x7000
	orr	w21, w21, #0x3c
	b	LBB0_12
LBB0_10:
	and	w21, w21, #0x3
LBB0_11:
	mov	w22, #0
	and	w20, w20, #0xfff
LBB0_12:
	mov	x0, x19
	mov	w1, #913
	mov	x2, x20
	bl	_dib7000m_write_word
	orr	w20, w0, w22
	mov	x0, x19
	mov	w1, #914
	mov	x2, x21
	bl	_dib7000m_write_word
	orr	w0, w20, w0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_dib7000m_set_adc_state
.subsections_via_symbols
