	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_hdcp_poll_ksv_fifo
_intel_hdcp_poll_ksv_fifo:              ## @intel_hdcp_poll_ksv_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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	leaq	-12(%rbp), %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	xorl	%esi, %esi
	movl	-12(%rbp), %eax
	orl	%ebx, %eax
	setne	%sil
	movl	%ebx, %edi
	movl	$5000000, %edx                  ## imm = 0x4C4B40
	movl	$1000, %ecx                     ## imm = 0x3E8
	movl	$100000, %r8d                   ## imm = 0x186A0
	callq	___wait_for
	movl	%eax, %ecx
	testl	%eax, %eax
	cmovel	%ebx, %eax
	orl	%ebx, %ecx
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	cmpl	$0, -12(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_intel_hdcp_poll_ksv_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_hdcp_poll_ksv_fifo
_intel_hdcp_poll_ksv_fifo:              ; @intel_hdcp_poll_ksv_fifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
	add	x1, sp, #12
	blr	x8
	mov	x19, x0
	ldr	w8, [sp, #12]
	orr	w8, w0, w8
	cmp	w8, #0
	cset	w1, ne
	mov	w2, #19264
	movk	w2, #76, lsl #16
	mov	w3, #1000
	mov	w4, #34464
	movk	w4, #1, lsl #16
	bl	___wait_for
	mov	x8, x0
	cmp	w0, #0
	csel	w0, w19, w0, eq
	orr	w8, w8, w19
	cbnz	w8, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_intel_hdcp_poll_ksv_fifo
.subsections_via_symbols
