	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000p_set_output_mode
_dib7000p_set_output_mode:              ## @dib7000p_set_output_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
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	$235, %esi
	callq	_dib7000p_read_word
	movl	%eax, %r13d
	andl	$80, %r13d
	leal	2(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	16(%r12), %r15
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dprintk
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_8
## %bb.1:
	movl	$1024, %r14d                    ## imm = 0x400
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	movl	$1792, %ebx                     ## imm = 0x700
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmpq	*%rcx
LBB0_3:
	movl	$1152, %r14d                    ## imm = 0x480
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$1792, %ebx                     ## imm = 0x700
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_9
LBB0_2:
	movl	$1088, %r14d                    ## imm = 0x440
	jmp	LBB0_9
LBB0_5:
	orl	$6, %r13d
	movl	$512, %ebx                      ## imm = 0x200
	movl	$1344, %r14d                    ## imm = 0x540
	movl	%r13d, %esi
	jmp	LBB0_9
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_4:
	cmpl	$0, 8(%r12)
	movl	$2048, %eax                     ## imm = 0x800
	movl	$1280, %r14d                    ## imm = 0x500
	cmovel	%eax, %r14d
	jmp	LBB0_9
LBB0_6:
	movl	$1216, %r14d                    ## imm = 0x4C0
LBB0_9:
	movl	%esi, %edx
	orl	$32, %edx
	cmpq	$0, (%r12)
	cmovel	%esi, %edx
	movq	%r12, %rdi
	movl	$235, %esi
	callq	_dib7000p_write_word
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	$236, %esi
	movl	%ebx, %edx
	callq	_dib7000p_write_word
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$1286, %esi                     ## imm = 0x506
	movl	%r14d, %edx
	callq	_dib7000p_write_word
	orl	%ebx, %eax
	orl	%r15d, %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_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting output mode for demod %p to %d"

L_.str.1:                               ## @.str.1
	.asciz	"Unhandled output_mode passed to be set for demod %p"

	.no_dead_strip	_dib7000p_set_output_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000p_set_output_mode
_dib7000p_set_output_mode:              ; @dib7000p_set_output_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
	mov	w1, #235
	bl	_dib7000p_read_word
	mov	w8, #80
	and	w23, w0, w8
	orr	w22, w23, #0x2
	add	x20, x19, #16
	str	x21, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_dprintk
	sub	w8, w21, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
	mov	w21, #1792
	mov	w20, #1024
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	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	w21, #1792
	mov	w20, #1152
	b	LBB0_10
LBB0_3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_dprintk
LBB0_4:
	mov	w20, #0
	b	LBB0_8
LBB0_5:
	mov	w21, #1792
	mov	w20, #1088
	b	LBB0_10
LBB0_6:
	orr	w22, w23, #0x6
	mov	w21, #512
	mov	w20, #1344
	b	LBB0_10
LBB0_7:
	ldr	w8, [x19, #8]
	mov	w9, #1280
	mov	w10, #2048
	cmp	w8, #0
	csel	w20, w10, w9, eq
LBB0_8:
	mov	w21, #1792
	b	LBB0_10
LBB0_9:
	mov	w21, #1792
	mov	w20, #1216
LBB0_10:
	ldr	x8, [x19]
	orr	w9, w22, #0x20
	cmp	x8, #0
	csel	w2, w22, w9, eq
	mov	x0, x19
	mov	w1, #235
	bl	_dib7000p_write_word
	mov	x22, x0
	mov	x0, x19
	mov	w1, #236
	mov	x2, x21
	bl	_dib7000p_write_word
	orr	w21, w0, w22
	mov	x0, x19
	mov	w1, #1286
	mov	x2, x20
	bl	_dib7000p_write_word
	orr	w0, w21, w0
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting output mode for demod %p to %d"

l_.str.1:                               ; @.str.1
	.asciz	"Unhandled output_mode passed to be set for demod %p"

	.no_dead_strip	_dib7000p_set_output_mode
.subsections_via_symbols
