	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_sad_calib
_dib8000_sad_calib:                     ## @dib8000_sad_calib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$32912, (%rdi)                  ## imm = 0x8090
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$922, %esi                      ## imm = 0x39A
	movl	$12, %edx
	callq	_dib8000_write_word
	movq	%rbx, %rdi
	movl	$923, %esi                      ## imm = 0x39B
	movl	$2048, %edx                     ## imm = 0x800
	callq	_dib8000_write_word
	movq	%rbx, %rdi
	movl	$922, %esi                      ## imm = 0x39A
	movl	$13, %edx
	callq	_dib8000_write_word
	movq	%rbx, %rdi
	movl	$922, %esi                      ## imm = 0x39A
	movl	$12, %edx
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$923, %esi                      ## imm = 0x39B
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%rbx, %rdi
	movl	$924, %esi                      ## imm = 0x39C
	movl	$776, %edx                      ## imm = 0x308
	callq	_dib8000_write_word
	movq	%rbx, %rdi
	movl	$923, %esi                      ## imm = 0x39B
	movl	$1, %edx
	callq	_dib8000_write_word
	movq	%rbx, %rdi
	movl	$923, %esi                      ## imm = 0x39B
	xorl	%edx, %edx
LBB0_3:
	callq	_dib8000_write_word
	movl	$1, %edi
	callq	_msleep
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dib8000_sad_calib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_sad_calib
_dib8000_sad_calib:                     ; @dib8000_sad_calib
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	mov	w9, #32912
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w1, #922
	mov	w2, #12
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #923
	mov	w2, #2048
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #922
	mov	w2, #13
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #922
	mov	w2, #12
	b	LBB0_3
LBB0_2:
	mov	w1, #923
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #924
	mov	w2, #776
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #923
	mov	w2, #1
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #923
	mov	w2, #0
LBB0_3:
	bl	_dib8000_write_word
	mov	w0, #1
	bl	_msleep
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dib8000_sad_calib
.subsections_via_symbols
