	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpi2c_imx_set_mode
_lpi2c_imx_set_mode:                    ## @lpi2c_imx_set_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_STARDARD_MAX_BITRATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_2
## %bb.1:
	movq	_STANDARD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_FAST_MAX_BITRATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_4
## %bb.3:
	movq	_FAST@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_FAST_PLUS_MAX_BITRATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_6
## %bb.5:
	movq	_FAST_PLUS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_HIGHSPEED_MAX_BITRATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_7
## %bb.8:
	movq	_HS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ULTRA_FAST@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STARDARD_MAX_BITRATE,4,2       ## @STARDARD_MAX_BITRATE
	.comm	_STANDARD,4,2                   ## @STANDARD
	.comm	_FAST_MAX_BITRATE,4,2           ## @FAST_MAX_BITRATE
	.comm	_FAST,4,2                       ## @FAST
	.comm	_FAST_PLUS_MAX_BITRATE,4,2      ## @FAST_PLUS_MAX_BITRATE
	.comm	_FAST_PLUS,4,2                  ## @FAST_PLUS
	.comm	_HIGHSPEED_MAX_BITRATE,4,2      ## @HIGHSPEED_MAX_BITRATE
	.comm	_HS,4,2                         ## @HS
	.comm	_ULTRA_FAST,4,2                 ## @ULTRA_FAST
	.no_dead_strip	_lpi2c_imx_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpi2c_imx_set_mode
_lpi2c_imx_set_mode:                    ; @lpi2c_imx_set_mode
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _STARDARD_MAX_BITRATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STARDARD_MAX_BITRATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _STANDARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STANDARD@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x9, _FAST_MAX_BITRATE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FAST_MAX_BITRATE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _FAST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FAST@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x9, _FAST_PLUS_MAX_BITRATE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FAST_PLUS_MAX_BITRATE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _FAST_PLUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FAST_PLUS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x9, _HIGHSPEED_MAX_BITRATE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HIGHSPEED_MAX_BITRATE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _ULTRA_FAST@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ULTRA_FAST@GOTPAGEOFF]
Lloh20:
	adrp	x11, _HS@GOTPAGE
Lloh21:
	ldr	x11, [x11, _HS@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x11, x10, lo
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_STARDARD_MAX_BITRATE,4,2       ; @STARDARD_MAX_BITRATE
	.comm	_STANDARD,4,2                   ; @STANDARD
	.comm	_FAST_MAX_BITRATE,4,2           ; @FAST_MAX_BITRATE
	.comm	_FAST,4,2                       ; @FAST
	.comm	_FAST_PLUS_MAX_BITRATE,4,2      ; @FAST_PLUS_MAX_BITRATE
	.comm	_FAST_PLUS,4,2                  ; @FAST_PLUS
	.comm	_HIGHSPEED_MAX_BITRATE,4,2      ; @HIGHSPEED_MAX_BITRATE
	.comm	_HS,4,2                         ; @HS
	.comm	_ULTRA_FAST,4,2                 ; @ULTRA_FAST
	.no_dead_strip	_lpi2c_imx_set_mode
.subsections_via_symbols
