	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll_slot_status_xo2
_poll_slot_status_xo2:                  ## @poll_slot_status_xo2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_DDB_CI_EXTERNAL_XO2@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	movq	8(%rax), %rdi
	sete	%sil
	xorl	$19, %esi
	movl	$0, -4(%rbp)
	leaq	-4(%rbp), %rcx
	movl	$1, %edx
	callq	_i2c_read_reg
	movl	-4(%rbp), %eax
	movl	%eax, %ecx
	shll	$30, %ecx
	sarl	$31, %ecx
	movq	_DVB_CA_EN50221_POLL_CAM_PRESENT@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	andl	$1, %eax
	negl	%eax
	movq	_DVB_CA_EN50221_POLL_CAM_READY@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	orl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDB_CI_EXTERNAL_XO2,8,3        ## @DDB_CI_EXTERNAL_XO2
	.comm	_DVB_CA_EN50221_POLL_CAM_PRESENT,4,2 ## @DVB_CA_EN50221_POLL_CAM_PRESENT
	.comm	_DVB_CA_EN50221_POLL_CAM_READY,4,2 ## @DVB_CA_EN50221_POLL_CAM_READY
	.no_dead_strip	_poll_slot_status_xo2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll_slot_status_xo2
_poll_slot_status_xo2:                  ; @poll_slot_status_xo2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DDB_CI_EXTERNAL_XO2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DDB_CI_EXTERNAL_XO2@GOTPAGEOFF]
	ldp	x8, x0, [x8]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #18
	cinc	w1, w8, ne
	stur	wzr, [x29, #-4]
	sub	x3, x29, #4
	mov	w2, #1
	bl	_i2c_read_reg
	ldur	w8, [x29, #-4]
	lsl	w9, w8, #30
Lloh3:
	adrp	x10, _DVB_CA_EN50221_POLL_CAM_PRESENT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DVB_CA_EN50221_POLL_CAM_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	sbfx	w8, w8, #0, #1
Lloh6:
	adrp	x10, _DVB_CA_EN50221_POLL_CAM_READY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DVB_CA_EN50221_POLL_CAM_READY@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w8, w8, w10
	orr	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DDB_CI_EXTERNAL_XO2,8,3        ; @DDB_CI_EXTERNAL_XO2
	.comm	_DVB_CA_EN50221_POLL_CAM_PRESENT,4,2 ; @DVB_CA_EN50221_POLL_CAM_PRESENT
	.comm	_DVB_CA_EN50221_POLL_CAM_READY,4,2 ; @DVB_CA_EN50221_POLL_CAM_READY
	.no_dead_strip	_poll_slot_status_xo2
.subsections_via_symbols
