	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib9000_fw_set_channel_union
_dib9000_fw_set_channel_union:          ## @dib9000_fw_set_channel_union
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	(%rdi), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$137, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$136, %ecx
	jne	LBB0_4
## %bb.2:
	movl	$1, -40(%rbp)
	jmp	LBB0_5
LBB0_3:
	movl	$0, -40(%rbp)
	jmp	LBB0_5
LBB0_4:
	movl	$-1, -40(%rbp)
LBB0_5:
	movl	$-129, %ecx
	addl	4(%rax), %ecx
	movl	$1, %edx
	cmpl	$2, %ecx
	ja	LBB0_7
## %bb.6:
	movslq	%ecx, %rcx
	leaq	l_switch.table.dib9000_fw_set_channel_union(%rip), %rdx
	movl	(%rdx,%rcx,4), %edx
LBB0_7:
	movl	%edx, -36(%rbp)
	movl	$-145, %edx
	addl	8(%rax), %edx
	movl	$-1, %ecx
	movl	$-1, %esi
	cmpl	$3, %edx
	ja	LBB0_9
## %bb.8:
	movslq	%edx, %rdx
	leaq	L_switch.table.dib9000_fw_set_channel_union.1(%rip), %rsi
	movl	(%rsi,%rdx,4), %esi
LBB0_9:
	movl	%esi, -32(%rbp)
	movl	$-132, %edx
	addl	12(%rax), %edx
	cmpl	$3, %edx
	ja	LBB0_11
## %bb.10:
	movslq	%edx, %rcx
	leaq	L_switch.table.dib9000_fw_set_channel_union.2(%rip), %rdx
	movl	(%rdx,%rcx,4), %ecx
LBB0_11:
	movl	%ecx, -28(%rbp)
	movl	$-139, %edx
	addl	16(%rax), %edx
	movl	$-1, %ecx
	movl	$-1, %esi
	cmpl	$4, %edx
	ja	LBB0_13
## %bb.12:
	movslq	%edx, %rdx
	leaq	l_switch.table.dib9000_fw_set_channel_union.3(%rip), %rsi
	movl	(%rsi,%rdx,4), %esi
LBB0_13:
	movl	%esi, -24(%rbp)
	movl	$1, -20(%rbp)
	movl	$-150, %edx
	movl	20(%rax), %esi
	addl	%edx, %esi
	leaq	l_switch.table.dib9000_fw_set_channel_union.5(%rip), %r8
	cmpl	$4, %esi
	ja	LBB0_15
## %bb.14:
	movslq	%esi, %rcx
	movl	(%r8,%rcx,4), %ecx
LBB0_15:
	movl	%ecx, -16(%rbp)
	addl	24(%rax), %edx
	movl	$-1, %eax
	cmpl	$4, %edx
	ja	LBB0_17
## %bb.16:
	movslq	%edx, %rax
	movl	(%r8,%rax,4), %eax
LBB0_17:
	movl	%eax, -12(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -8(%rbp)
	movq	_FE_MM_W_CHANNEL_UNION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_dib9000_risc_mem_write
	xorl	%eax, %eax
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_MM_W_CHANNEL_UNION,4,2      ## @FE_MM_W_CHANNEL_UNION
	.no_dead_strip	_dib9000_fw_set_channel_union
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.dib9000_fw_set_channel_union
l_switch.table.dib9000_fw_set_channel_union:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	0                               ## 0x0

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.dib9000_fw_set_channel_union.1
L_switch.table.dib9000_fw_set_channel_union.1:
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.dib9000_fw_set_channel_union.2
L_switch.table.dib9000_fw_set_channel_union.2:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	2                               ## 0x2
	.long	1                               ## 0x1

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.dib9000_fw_set_channel_union.3
l_switch.table.dib9000_fw_set_channel_union.3:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.dib9000_fw_set_channel_union.5
l_switch.table.dib9000_fw_set_channel_union.5:
	.long	7                               ## 0x7
	.long	5                               ## 0x5
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	1                               ## 0x1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib9000_fw_set_channel_union
_dib9000_fw_set_channel_union:          ; @dib9000_fw_set_channel_union
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #137
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #136
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #1
	b	LBB0_5
LBB0_3:
	str	wzr, [sp, #8]
	b	LBB0_6
LBB0_4:
	mov	w9, #-1
LBB0_5:
	str	w9, [sp, #8]
LBB0_6:
	ldr	w9, [x8, #4]
	sub	w9, w9, #129
	cmp	w9, #2
	b.hi	LBB0_8
; %bb.7:
Lloh0:
	adrp	x10, l_switch.table.dib9000_fw_set_channel_union@PAGE
Lloh1:
	add	x10, x10, l_switch.table.dib9000_fw_set_channel_union@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	b	LBB0_9
LBB0_8:
	mov	w9, #1
LBB0_9:
	str	w9, [sp, #12]
	ldr	w9, [x8, #8]
	sub	w9, w9, #145
	cmp	w9, #3
	b.hi	LBB0_11
; %bb.10:
Lloh2:
	adrp	x10, l_switch.table.dib9000_fw_set_channel_union.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.dib9000_fw_set_channel_union.1@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	b	LBB0_12
LBB0_11:
	mov	w9, #-1
LBB0_12:
	str	w9, [sp, #16]
	ldr	w9, [x8, #12]
	sub	w9, w9, #132
	cmp	w9, #3
	b.hi	LBB0_14
; %bb.13:
Lloh4:
	adrp	x10, l_switch.table.dib9000_fw_set_channel_union.2@PAGE
Lloh5:
	add	x10, x10, l_switch.table.dib9000_fw_set_channel_union.2@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	b	LBB0_15
LBB0_14:
	mov	w9, #-1
LBB0_15:
	str	w9, [sp, #20]
	ldr	w9, [x8, #16]
	sub	w9, w9, #139
	cmp	w9, #4
	b.hi	LBB0_17
; %bb.16:
Lloh6:
	adrp	x10, l_switch.table.dib9000_fw_set_channel_union.3@PAGE
Lloh7:
	add	x10, x10, l_switch.table.dib9000_fw_set_channel_union.3@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	b	LBB0_18
LBB0_17:
	mov	w9, #-1
LBB0_18:
	mov	w10, #1
	stp	w9, w10, [sp, #24]
	ldr	w9, [x8, #20]
	sub	w10, w9, #150
Lloh8:
	adrp	x9, l_switch.table.dib9000_fw_set_channel_union.5@PAGE
Lloh9:
	add	x9, x9, l_switch.table.dib9000_fw_set_channel_union.5@PAGEOFF
	cmp	w10, #4
	b.hi	LBB0_20
; %bb.19:
	ldr	w10, [x9, w10, sxtw #2]
	b	LBB0_21
LBB0_20:
	mov	w10, #-1
LBB0_21:
	str	w10, [sp, #32]
	ldr	w8, [x8, #24]
	sub	w8, w8, #150
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.22:
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_24
LBB0_23:
	mov	w8, #-1
LBB0_24:
	str	w8, [sp, #36]
	movi.2s	v0, #1
	str	d0, [sp, #40]
Lloh10:
	adrp	x8, _FE_MM_W_CHANNEL_UNION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FE_MM_W_CHANNEL_UNION@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_dib9000_risc_mem_write
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_MM_W_CHANNEL_UNION,4,2      ; @FE_MM_W_CHANNEL_UNION
	.no_dead_strip	_dib9000_fw_set_channel_union
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.dib9000_fw_set_channel_union
l_switch.table.dib9000_fw_set_channel_union:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	0                               ; 0x0

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.dib9000_fw_set_channel_union.1
l_switch.table.dib9000_fw_set_channel_union.1:
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.dib9000_fw_set_channel_union.2
l_switch.table.dib9000_fw_set_channel_union.2:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	2                               ; 0x2
	.long	1                               ; 0x1

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.dib9000_fw_set_channel_union.3
l_switch.table.dib9000_fw_set_channel_union.3:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.dib9000_fw_set_channel_union.5
l_switch.table.dib9000_fw_set_channel_union.5:
	.long	7                               ; 0x7
	.long	5                               ; 0x5
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	1                               ; 0x1

.subsections_via_symbols
