	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib9000_set_power_mode
_dib9000_set_power_mode:                ## @dib9000_set_power_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.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	$-16387, %eax                   ## imm = 0xBFFD
	addl	(%rdi), %eax
	xorl	%r15d, %r15d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$3, %eax
	setb	%r15b
	leal	906(%r15), %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_dib9000_read_word
	movl	%eax, %r12d
	orl	$3, %r12d
	movl	$65535, %eax                    ## imm = 0xFFFF
	movl	$16383, %edx                    ## imm = 0x3FFF
	addl	$-129, %ebx
	cmpl	$4, %ebx
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rsi
	addq	%rcx, %rsi
	jmpq	*%rsi
LBB0_5:
	andl	$-2, %r12d
	movl	$65291, -44(%rbp)               ## 4-byte Folded Spill
                                        ## imm = 0xFF0B
	movl	$13311, %edx                    ## imm = 0x33FF
	jmp	LBB0_8
LBB0_1:
	movl	$65535, -44(%rbp)               ## 4-byte Folded Spill
                                        ## imm = 0xFFFF
	jmp	LBB0_8
LBB0_4:
	movl	$65307, -44(%rbp)               ## 4-byte Folded Spill
                                        ## imm = 0xFF1B
	jmp	LBB0_8
LBB0_6:
	andl	$-2, %r12d
	movl	$32799, %eax                    ## imm = 0x801F
	xorl	%edx, %edx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
LBB0_7:
	andl	$-2, %r12d
	movl	$267, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x10B
	movl	$32768, %eax                    ## imm = 0x8000
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_3:
	xorl	%edx, %edx
	xorl	%eax, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
LBB0_8:
	xorl	%r14d, %r14d
	cmpl	$3, -48(%rbp)                   ## 4-byte Folded Reload
	setb	%r14b
	movl	%eax, %ebx
	orl	$214, %ebx
	cmpl	$0, 4(%r13)
	cmovnel	%eax, %ebx
	cmpl	$16384, (%r13)                  ## imm = 0x4000
	setne	%cl
	shll	%cl, %r12d
	leal	903(%r14), %esi
	movq	%r13, %rdi
	callq	_dib9000_write_word
	orl	$904, %r15d                     ## imm = 0x388
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_dib9000_write_word
	addl	$905, %r14d                     ## imm = 0x389
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_dib9000_write_word
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dib9000_write_word             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-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
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_dib9000_set_power_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib9000_set_power_mode
_dib9000_set_power_mode:                ; @dib9000_set_power_mode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	mov	w9, #-16387
	add	w24, w8, w9
	cmp	w24, #3
	cset	w25, lo
	mov	w8, #906
	orr	w20, w25, w8
	mov	x1, x20
	bl	_dib9000_read_word
	orr	w8, w0, #0x3
	sub	w9, w21, #129
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	and	w8, w8, #0xfffffffe
	mov	w21, #65291
	mov	w9, #65535
	mov	w2, #13311
	b	LBB0_8
LBB0_3:
	mov	w9, #65535
	mov	w2, #16383
	mov	w21, #65535
	b	LBB0_8
LBB0_4:
	mov	w21, #65307
	mov	w9, #65535
	mov	w2, #16383
	b	LBB0_8
LBB0_5:
	mov	w2, #0
	mov	w21, #0
	and	w8, w8, #0xfffffffe
	mov	w9, #32799
	b	LBB0_8
LBB0_6:
	mov	w2, #0
	and	w8, w8, #0xfffffffe
	mov	w21, #267
	mov	w9, #32768
	b	LBB0_8
LBB0_7:
	mov	w2, #0
	mov	w9, #0
	mov	w21, #0
	mov	w8, #0
LBB0_8:
	mov	w10, #214
	orr	w10, w9, w10
	ldp	w12, w11, [x19]
	cmp	w11, #0
	csel	w22, w10, w9, eq
	cmp	w12, #4, lsl #12                ; =16384
	cset	w9, ne
	lsl	w23, w8, w9
	cmp	w24, #3
	mov	w8, #903
	cinc	w1, w8, lo
	mov	w8, #905
	cinc	w24, w8, lo
	mov	x0, x19
	bl	_dib9000_write_word
	mov	w8, #904
	orr	w1, w25, w8
	mov	x0, x19
	mov	x2, x22
	bl	_dib9000_write_word
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	bl	_dib9000_write_word
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dib9000_write_word
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_dib9000_set_power_mode
.subsections_via_symbols
