	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cec_is_busy
_cec_is_busy:                           ## @cec_is_busy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	testq	%rax, %rax
	setne	%dil
	cmpq	%rsi, %rax
	sete	%dl
	andb	%dil, %dl
	testq	%rcx, %rcx
	setne	%dil
	cmpq	%rsi, %rcx
	sete	%cl
	andb	%dil, %cl
	orb	%dl, %cl
	movl	%ecx, %edx
	xorb	$1, %dl
	testb	%cl, %cl
	jne	LBB0_3
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	(%rsi), %rax
	movq	_CEC_MODE_NO_INITIATOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dl
LBB0_3:
	movzbl	%dl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_MODE_NO_INITIATOR,8,3      ## @CEC_MODE_NO_INITIATOR
	.no_dead_strip	_cec_is_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cec_is_busy
_cec_is_busy:                           ; @cec_is_busy
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	cmp	x8, x1
	ccmp	x8, #0, #4, eq
	cset	w10, ne
	cmp	x9, #0
	ccmp	x9, x1, #0, ne
	cset	w9, eq
	orr	w9, w10, w9
	eor	w0, w9, #0x1
	tbnz	w9, #0, LBB0_3
; %bb.1:
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _CEC_MODE_NO_INITIATOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CEC_MODE_NO_INITIATOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_MODE_NO_INITIATOR,8,3      ; @CEC_MODE_NO_INITIATOR
	.no_dead_strip	_cec_is_busy
.subsections_via_symbols
