	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlp9xx_i2c_update_rx_fifo_thres
_xlp9xx_i2c_update_rx_fifo_thres:       ## @xlp9xx_i2c_update_rx_fifo_thres
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %edx
	cmpq	$0, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movl	(%rdi), %eax
	movq	_XLP9XX_I2C_FIFO_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	cmovll	%eax, %edx
LBB0_2:
	movq	_XLP9XX_I2C_MFIFOCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	popq	%rbp
	jmp	_xlp9xx_write_i2c_reg           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XLP9XX_I2C_FIFO_SIZE,4,2       ## @XLP9XX_I2C_FIFO_SIZE
	.comm	_XLP9XX_I2C_MFIFOCTRL,4,2       ## @XLP9XX_I2C_MFIFOCTRL
	.comm	_XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT,4,2 ## @XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT
	.no_dead_strip	_xlp9xx_i2c_update_rx_fifo_thres
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlp9xx_i2c_update_rx_fifo_thres
_xlp9xx_i2c_update_rx_fifo_thres:       ; @xlp9xx_i2c_update_rx_fifo_thres
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _XLP9XX_I2C_FIFO_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XLP9XX_I2C_FIFO_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w8, w9, lt
LBB0_3:
Lloh3:
	adrp	x9, _XLP9XX_I2C_MFIFOCTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XLP9XX_I2C_MFIFOCTRL@GOTPAGEOFF]
Lloh5:
	adrp	x10, _XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
Lloh8:
	ldr	w9, [x10]
	lsl	w2, w8, w9
	b	_xlp9xx_write_i2c_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_XLP9XX_I2C_FIFO_SIZE,4,2       ; @XLP9XX_I2C_FIFO_SIZE
	.comm	_XLP9XX_I2C_MFIFOCTRL,4,2       ; @XLP9XX_I2C_MFIFOCTRL
	.comm	_XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT,4,2 ; @XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT
	.no_dead_strip	_xlp9xx_i2c_update_rx_fifo_thres
.subsections_via_symbols
