	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx8802_blackbird_advise_acquire
_cx8802_blackbird_advise_acquire:       ## @cx8802_blackbird_advise_acquire
	.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	(%rdi), %rax
	cmpl	$128, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_MO_GP0_IO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$128, %esi
	callq	_cx_set
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%rbx), %edi
	movl	$128, %esi
	callq	_cx_clear
	movl	$50, %edi
	callq	_udelay
	movl	(%rbx), %edi
	movl	$128, %esi
	callq	_cx_set
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_cx_set
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MO_GP0_IO,4,2                  ## @MO_GP0_IO
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_cx8802_blackbird_advise_acquire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx8802_blackbird_advise_acquire
_cx8802_blackbird_advise_acquire:       ; @cx8802_blackbird_advise_acquire
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _MO_GP0_IO@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MO_GP0_IO@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #128
	bl	_cx_set
	mov	w0, #1000
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #128
	bl	_cx_clear
	mov	w0, #50
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #128
	bl	_cx_set
	mov	w0, #1000
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #4
	bl	_cx_set
	mov	w0, #1000
	bl	_udelay
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MO_GP0_IO,4,2                  ; @MO_GP0_IO
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_cx8802_blackbird_advise_acquire
.subsections_via_symbols
