	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib3000mc_init
_dib3000mc_init:                        ## @dib3000mc_init
	.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), %rbx
	movq	(%rbx), %rax
	movq	40(%rax), %r12
	movq	%rbx, %rdi
	movl	$1027, %esi                     ## imm = 0x403
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_dib3000mc_write_word
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movl	$1027, %esi                     ## imm = 0x403
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$140, %esi
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$1031, %esi                     ## imm = 0x407
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	(%rbx), %rax
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	cmpq	$0, 32(%rax)
	setne	%r15b
	sete	%dl
	movl	$300, %r14d                     ## imm = 0x12C
	cmovnel	%r13d, %r14d
	addl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	$139, %esi
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$141, %esi
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$175, %esi
	movl	%r15d, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$1032, %esi                     ## imm = 0x408
	movl	%r14d, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$1033, %esi                     ## imm = 0x409
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$1037, %esi                     ## imm = 0x40D
	movl	$12592, %edx                    ## imm = 0x3130
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$33, %esi
	movl	$5, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$88, %esi
	movl	$1040, %edx                     ## imm = 0x410
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$99, %esi
	movl	$544, %edx                      ## imm = 0x220
	callq	_dib3000mc_write_word
	movq	(%rbx), %rax
	xorl	%edx, %edx
	cmpq	$0, (%rax)
	setne	%dl
	addl	%edx, %edx
	movq	%rbx, %rdi
	movl	$111, %esi
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$50, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	callq	_dib3000mc_setup_pwm_state
	movq	%rbx, %rdi
	movl	$53, %esi
	movl	$135, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$54, %esi
	movl	$135, %edx
	callq	_dib3000mc_write_word
	movq	(%rbx), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	movl	$36, %esi
	callq	_dib3000mc_write_word
	movq	(%rbx), %rax
	movl	12(%rax), %ecx
	movl	16(%rax), %edx
	shll	$13, %ecx
	shll	$12, %edx
	orl	%ecx, %edx
	orl	$29, %edx
	movq	%rbx, %rdi
	movl	$37, %esi
	callq	_dib3000mc_write_word
	movq	(%rbx), %rax
	movl	20(%rax), %edx
	movq	%rbx, %rdi
	movl	$38, %esi
	callq	_dib3000mc_write_word
	movq	(%rbx), %rax
	movl	24(%rax), %edx
	movq	%rbx, %rdi
	movl	$39, %esi
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$40, %esi
	movl	$377, %edx                      ## imm = 0x179
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$41, %esi
	movl	$1008, %edx                     ## imm = 0x3F0
	callq	_dib3000mc_write_word
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$42, %esi
	callq	_dib3000mc_write_word
	movl	4(%r12), %edx
	movq	%rbx, %rdi
	movl	$43, %esi
	callq	_dib3000mc_write_word
	movl	8(%r12), %edx
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_dib3000mc_write_word
	movl	12(%r12), %edx
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_dib3000mc_write_word
	movl	16(%r12), %edx
	shll	$8, %edx
	orl	20(%r12), %edx
	movq	%rbx, %rdi
	movl	$46, %esi
	callq	_dib3000mc_write_word
	movl	24(%r12), %edx
	shll	$8, %edx
	orl	28(%r12), %edx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_dib3000mc_write_word
	movl	32(%r12), %edx
	shll	$8, %edx
	orl	36(%r12), %edx
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_dib3000mc_write_word
	movl	40(%r12), %edx
	shll	$8, %edx
	orl	44(%r12), %edx
	movq	%rbx, %rdi
	movl	$49, %esi
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$110, %esi
	movl	$3277, %edx                     ## imm = 0xCCD
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$26, %esi
	movl	$26240, %edx                    ## imm = 0x6680
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$4, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$1, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_dib3000mc_set_bandwidth
	movq	%rbx, %rdi
	movl	$4, %esi
	movl	$2068, %edx                     ## imm = 0x814
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$868, %edx                      ## imm = 0x364
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$22, %esi
	movl	$17981, %edx                    ## imm = 0x463D
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$120, %esi
	movl	$8207, %edx                     ## imm = 0x200F
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$134, %esi
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$195, %esi
	movl	$16, %edx
	callq	_dib3000mc_write_word
	movq	%rbx, %rdi
	movl	$180, %esi
	movl	$12272, %edx                    ## imm = 0x2FF0
	callq	_dib3000mc_write_word
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dib3000mc_set_impulse_noise
	movq	_OUTMODE_HIGH_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dib3000mc_set_output_mode
	movq	%rbx, %rdi
	movl	$769, %esi                      ## imm = 0x301
	movl	$128, %edx
	callq	_dib3000mc_write_word
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSMISSION_MODE_8K,4,2       ## @TRANSMISSION_MODE_8K
	.comm	_OUTMODE_HIGH_Z,4,2             ## @OUTMODE_HIGH_Z
	.no_dead_strip	_dib3000mc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib3000mc_init
_dib3000mc_init:                        ; @dib3000mc_init
	.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
	ldr	x19, [x0]
	ldr	x8, [x19]
	ldr	x22, [x8, #40]
	mov	x0, x19
	mov	w1, #1027
	mov	w2, #32768
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #1027
	mov	w2, #0
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #140
	mov	w2, #0
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #1031
	mov	w2, #0
	bl	_dib3000mc_write_word
	ldr	x8, [x19]
	ldr	x8, [x8, #32]
	cmp	x8, #0
	cset	w8, ne
	cset	w2, eq
	lsl	w20, w8, #1
	mov	w8, #300
	csel	w21, w8, wzr, eq
	mov	x0, x19
	mov	w1, #139
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #141
	mov	w2, #0
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #175
	mov	x2, x20
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #1032
	mov	x2, x21
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #1033
	mov	w2, #0
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #1037
	mov	w2, #12592
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #33
	mov	w2, #5
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #88
	mov	w2, #1040
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #99
	mov	w2, #544
	bl	_dib3000mc_write_word
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, ne
	lsl	w2, w8, #1
	mov	x0, x19
	mov	w1, #111
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #50
	mov	w2, #32768
	bl	_dib3000mc_write_word
	mov	x0, x19
	bl	_dib3000mc_setup_pwm_state
	mov	x0, x19
	mov	w1, #53
	mov	w2, #135
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #54
	mov	w2, #135
	bl	_dib3000mc_write_word
	ldr	x8, [x19]
	ldr	w2, [x8, #8]
	mov	x0, x19
	mov	w1, #36
	bl	_dib3000mc_write_word
	ldr	x8, [x19]
	ldp	w9, w8, [x8, #12]
	lsl	w9, w9, #13
	orr	w8, w9, w8, lsl #12
	mov	w9, #29
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #37
	bl	_dib3000mc_write_word
	ldr	x8, [x19]
	ldr	w2, [x8, #20]
	mov	x0, x19
	mov	w1, #38
	bl	_dib3000mc_write_word
	ldr	x8, [x19]
	ldr	w2, [x8, #24]
	mov	x0, x19
	mov	w1, #39
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #40
	mov	w2, #377
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #41
	mov	w2, #1008
	bl	_dib3000mc_write_word
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #42
	bl	_dib3000mc_write_word
	ldr	w2, [x22, #4]
	mov	x0, x19
	mov	w1, #43
	bl	_dib3000mc_write_word
	ldr	w2, [x22, #8]
	mov	x0, x19
	mov	w1, #44
	bl	_dib3000mc_write_word
	ldr	w2, [x22, #12]
	mov	x0, x19
	mov	w1, #45
	bl	_dib3000mc_write_word
	ldp	w8, w9, [x22, #16]
	orr	w2, w9, w8, lsl #8
	mov	x0, x19
	mov	w1, #46
	bl	_dib3000mc_write_word
	ldp	w8, w9, [x22, #24]
	orr	w2, w9, w8, lsl #8
	mov	x0, x19
	mov	w1, #47
	bl	_dib3000mc_write_word
	ldp	w8, w9, [x22, #32]
	orr	w2, w9, w8, lsl #8
	mov	x0, x19
	mov	w1, #48
	bl	_dib3000mc_write_word
	ldp	w8, w9, [x22, #40]
	orr	w2, w9, w8, lsl #8
	mov	x0, x19
	mov	w1, #49
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #110
	mov	w2, #3277
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #26
	mov	w2, #26240
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #1
	mov	w2, #4
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #2
	mov	w2, #4
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #3
	mov	w2, #4096
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #5
	mov	w2, #1
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #8000
	bl	_dib3000mc_set_bandwidth
	mov	x0, x19
	mov	w1, #4
	mov	w2, #2068
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #21
	mov	w2, #868
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #22
	mov	w2, #17981
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #120
	mov	w2, #8207
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #134
	mov	w2, #0
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #195
	mov	w2, #16
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #180
	mov	w2, #12272
	bl	_dib3000mc_write_word
Lloh0:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_dib3000mc_set_impulse_noise
Lloh3:
	adrp	x8, _OUTMODE_HIGH_Z@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OUTMODE_HIGH_Z@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dib3000mc_set_output_mode
	mov	x0, x19
	mov	w1, #769
	mov	w2, #128
	bl	_dib3000mc_write_word
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSMISSION_MODE_8K,4,2       ; @TRANSMISSION_MODE_8K
	.comm	_OUTMODE_HIGH_Z,4,2             ; @OUTMODE_HIGH_Z
	.no_dead_strip	_dib3000mc_init
.subsections_via_symbols
