	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000m_set_power_mode
_dib7000m_set_power_mode:               ## @dib7000m_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	addl	$-129, %esi
	cmpl	$4, %esi
	ja	LBB0_1
## %bb.2:
	movslq	%esi, %rcx
	leaq	l_switch.table.dib7000m_set_power_mode(%rip), %rax
	movl	(%rax,%rcx,4), %edx
	leaq	l_switch.table.dib7000m_set_power_mode.1(%rip), %rax
	movl	(%rax,%rcx,4), %eax
	leaq	l_switch.table.dib7000m_set_power_mode.2(%rip), %rsi
	movl	(%rsi,%rcx,4), %r15d
	leaq	l_switch.table.dib7000m_set_power_mode.3(%rip), %rsi
	movl	(%rsi,%rcx,4), %r14d
	jmp	LBB0_3
LBB0_1:
	movl	$16383, %r14d                   ## imm = 0x3FFF
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$65535, %eax                    ## imm = 0xFFFF
	movl	$65535, %r15d                   ## imm = 0xFFFF
LBB0_3:
	movl	%eax, %r13d
	orl	$214, %r13d
	cmpl	$0, 4(%r12)
	cmovnel	%eax, %r13d
	movl	(%r12), %eax
	cmpl	$16384, %eax                    ## imm = 0x4000
	setne	%cl
	shll	%cl, %r14d
	xorl	%ebx, %ebx
	cmpl	$16387, %eax                    ## imm = 0x4003
	sete	%bl
	leal	903(%rbx), %esi
	movq	%r12, %rdi
	callq	_dib7000m_write_word
	leal	904(%rbx), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_dib7000m_write_word
	leal	905(%rbx), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_dib7000m_write_word
	orl	$906, %ebx                      ## imm = 0x38A
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dib7000m_write_word            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dib7000m_set_power_mode
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.dib7000m_set_power_mode
l_switch.table.dib7000m_set_power_mode:
	.long	13311                           ## 0x33ff
	.long	65535                           ## 0xffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	2                               ## @switch.table.dib7000m_set_power_mode.1
l_switch.table.dib7000m_set_power_mode.1:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	32799                           ## 0x801f
	.long	32768                           ## 0x8000
	.long	0                               ## 0x0

	.p2align	2                               ## @switch.table.dib7000m_set_power_mode.2
l_switch.table.dib7000m_set_power_mode.2:
	.long	65291                           ## 0xff0b
	.long	65307                           ## 0xff1b
	.long	0                               ## 0x0
	.long	267                             ## 0x10b
	.long	0                               ## 0x0

	.p2align	2                               ## @switch.table.dib7000m_set_power_mode.3
l_switch.table.dib7000m_set_power_mode.3:
	.long	16382                           ## 0x3ffe
	.long	16383                           ## 0x3fff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000m_set_power_mode
_dib7000m_set_power_mode:               ; @dib7000m_set_power_mode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	sub	w8, w1, #129
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #2, #32
Lloh0:
	adrp	x9, l_switch.table.dib7000m_set_power_mode@PAGE
Lloh1:
	add	x9, x9, l_switch.table.dib7000m_set_power_mode@PAGEOFF
	ldr	w2, [x9, x8]
Lloh2:
	adrp	x9, l_switch.table.dib7000m_set_power_mode.1@PAGE
Lloh3:
	add	x9, x9, l_switch.table.dib7000m_set_power_mode.1@PAGEOFF
	ldr	w9, [x9, x8]
Lloh4:
	adrp	x10, l_switch.table.dib7000m_set_power_mode.2@PAGE
Lloh5:
	add	x10, x10, l_switch.table.dib7000m_set_power_mode.2@PAGEOFF
	ldr	w20, [x10, x8]
Lloh6:
	adrp	x10, l_switch.table.dib7000m_set_power_mode.3@PAGE
Lloh7:
	add	x10, x10, l_switch.table.dib7000m_set_power_mode.3@PAGEOFF
	ldr	w8, [x10, x8]
	b	LBB0_3
LBB0_2:
	mov	w8, #16383
	mov	w2, #65535
	mov	w9, #65535
	mov	w20, #65535
LBB0_3:
	mov	w10, #214
	orr	w10, w9, w10
	ldp	w12, w11, [x19]
	cmp	w11, #0
	csel	w21, w10, w9, eq
	cmp	w12, #4, lsl #12                ; =16384
	cset	w9, ne
	lsl	w22, w8, w9
	mov	w8, #16387
	cmp	w12, w8
	cset	w24, eq
	mov	w8, #903
	cinc	w1, w8, eq
	mov	w8, #905
	cinc	w23, w8, eq
	mov	x0, x19
	bl	_dib7000m_write_word
	mov	w8, #904
	orr	w1, w24, w8
	mov	x0, x19
	mov	x2, x21
	bl	_dib7000m_write_word
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_dib7000m_write_word
	mov	w8, #906
	orr	w1, w24, w8
	mov	x0, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dib7000m_write_word
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dib7000m_set_power_mode
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.dib7000m_set_power_mode
l_switch.table.dib7000m_set_power_mode:
	.long	13311                           ; 0x33ff
	.long	65535                           ; 0xffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @switch.table.dib7000m_set_power_mode.1
l_switch.table.dib7000m_set_power_mode.1:
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	32799                           ; 0x801f
	.long	32768                           ; 0x8000
	.long	0                               ; 0x0

	.p2align	2                               ; @switch.table.dib7000m_set_power_mode.2
l_switch.table.dib7000m_set_power_mode.2:
	.long	65291                           ; 0xff0b
	.long	65307                           ; 0xff1b
	.long	0                               ; 0x0
	.long	267                             ; 0x10b
	.long	0                               ; 0x0

	.p2align	2                               ; @switch.table.dib7000m_set_power_mode.3
l_switch.table.dib7000m_set_power_mode.3:
	.long	16382                           ; 0x3ffe
	.long	16383                           ; 0x3fff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
