	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxl111sf_i2c_check_fifo
_mxl111sf_i2c_check_fifo:               ## @mxl111sf_i2c_check_fifo
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_mxl_i2c
	movq	_USB_READ_I2C_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movl	$0, -124(%rbp)
	movq	_I2C_MUX_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	$0, -116(%rbp)
	movq	_I2C_INT_STATUS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)
	movq	$0, -104(%rbp)
	movq	_USB_END_I2C_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	leaq	-128(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rcx, %rdx
	callq	_mxl111sf_i2c_get_data
	movl	-124(%rbp), %ebx
	testb	$2, -108(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_mxl_i2c
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	shrl	$3, %ebx
	andl	$1, %ebx
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"()"

	.comm	_USB_READ_I2C_CMD,4,2           ## @USB_READ_I2C_CMD
	.comm	_I2C_MUX_REG,4,2                ## @I2C_MUX_REG
	.comm	_I2C_INT_STATUS_REG,4,2         ## @I2C_INT_STATUS_REG
	.comm	_USB_END_I2C_CMD,4,2            ## @USB_END_I2C_CMD
L_.str.1:                               ## @.str.1
	.asciz	"(buf[5] & 0x02) == 0x02"

	.no_dead_strip	_mxl111sf_i2c_check_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxl111sf_i2c_check_fifo
_mxl111sf_i2c_check_fifo:               ; @mxl111sf_i2c_check_fifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_mxl_i2c
Lloh5:
	adrp	x8, _USB_READ_I2C_CMD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USB_READ_I2C_CMD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, wzr, [sp]
Lloh8:
	adrp	x8, _I2C_MUX_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I2C_MUX_REG@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	movi.2d	v0, #0000000000000000
	stur	d0, [sp, #12]
Lloh11:
	adrp	x8, _I2C_INT_STATUS_REG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I2C_INT_STATUS_REG@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	str	d0, [sp, #24]
Lloh14:
	adrp	x8, _USB_END_I2C_CMD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _USB_END_I2C_CMD@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	mov	x2, sp
	mov	x3, sp
	mov	x0, x19
	mov	w1, #0
	bl	_mxl111sf_i2c_get_data
	ldr	w19, [sp, #4]
	ldrb	w8, [sp, #20]
	tbz	w8, #1, LBB0_2
; %bb.1:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_mxl_i2c
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ubfx	w0, w19, #3, #1
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"()"

	.comm	_USB_READ_I2C_CMD,4,2           ; @USB_READ_I2C_CMD
	.comm	_I2C_MUX_REG,4,2                ; @I2C_MUX_REG
	.comm	_I2C_INT_STATUS_REG,4,2         ; @I2C_INT_STATUS_REG
	.comm	_USB_END_I2C_CMD,4,2            ; @USB_END_I2C_CMD
l_.str.1:                               ; @.str.1
	.asciz	"(buf[5] & 0x02) == 0x02"

	.no_dead_strip	_mxl111sf_i2c_check_fifo
.subsections_via_symbols
