	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7090_setHostBusMux
_dib7090_setHostBusMux:                 ## @dib7090_setHostBusMux
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$1288, %esi                     ## imm = 0x508
	callq	_dib7000p_read_word
	movl	%eax, %r15d
	andl	$-113, %r15d
	cmpl	$128, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dib7090_enMpegMux
	orl	$64, %r15d
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	_dprintk
	orl	$16, %r15d
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_dprintk
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dib7090_enMpegMux
	orl	$32, %r15d
LBB0_6:
	movq	%r14, %rdi
	movl	$1288, %esi                     ## imm = 0x508
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dib7000p_write_word            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SET DEM OUT OLD INTERF ON HOST BUS\n"

L_.str.1:                               ## @.str.1
	.asciz	"SET DIBSTREAM TX ON HOST BUS\n"

L_.str.2:                               ## @.str.2
	.asciz	"SET MPEG MUX ON HOST BUS\n"

	.no_dead_strip	_dib7090_setHostBusMux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7090_setHostBusMux
_dib7090_setHostBusMux:                 ; @dib7090_setHostBusMux
	.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	x21, x1
	mov	x19, x0
	mov	w1, #1288
	bl	_dib7000p_read_word
	and	w20, w0, #0xffffff8f
	cmp	w21, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #130
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	mov	w1, #0
	bl	_dib7090_enMpegMux
	orr	w20, w20, #0x40
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintk
	orr	w20, w20, #0x10
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	mov	w1, #0
	bl	_dib7090_enMpegMux
	orr	w20, w20, #0x20
LBB0_6:
	mov	x0, x19
	mov	w1, #1288
	mov	x2, x20
	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
	b	_dib7000p_write_word
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SET DEM OUT OLD INTERF ON HOST BUS\n"

l_.str.1:                               ; @.str.1
	.asciz	"SET DIBSTREAM TX ON HOST BUS\n"

l_.str.2:                               ; @.str.2
	.asciz	"SET MPEG MUX ON HOST BUS\n"

	.no_dead_strip	_dib7090_setHostBusMux
.subsections_via_symbols
