	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dibx000_i2c_set_speed          ## -- Begin function dibx000_i2c_set_speed
	.p2align	4, 0x90
_dibx000_i2c_set_speed:                 ## @dibx000_i2c_set_speed
	.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
	movl	%esi, %ebx
	callq	_i2c_get_adapdata
	movq	%rax, %rdi
	movq	_DIB7000MC@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	cmpq	(%rax), %rcx
	movl	$235, %ecx
	cmovgel	%ebx, %ecx
	movq	8(%rdi), %rsi
	cmpl	$235, %ebx
	cmovgel	%ebx, %ecx
	addq	$3, %rsi
	movl	$60000, %eax                    ## imm = 0xEA60
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dibx000_write_word             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DIB7000MC,8,3                  ## @DIB7000MC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dibx000_i2c_set_speed          ; -- Begin function dibx000_i2c_set_speed
	.p2align	2
_dibx000_i2c_set_speed:                 ; @dibx000_i2c_set_speed
	.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, x1
	bl	_i2c_get_adapdata
Lloh0:
	adrp	x8, _DIB7000MC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIB7000MC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x0]
	cmp	x9, x8
	mov	w8, #235
	ccmp	w19, w8, #0, lt
	csel	w8, w8, w19, lt
	add	x1, x10, #3
	mov	w9, #60000
	sdiv	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dibx000_write_word
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIB7000MC,8,3                  ; @DIB7000MC
.subsections_via_symbols
