	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyapa_disable_irq_for_cmd
_cyapa_disable_irq_for_cmd:             ## @cyapa_disable_irq_for_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_6
LBB0_2:
	movq	(%r14), %rax
	movq	_CYAPA_GEN5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.3:
	movq	24(%r14), %rax
	movl	(%rax), %edi
	callq	_disable_irq
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	cmpq	$0, 16(%r14)
	je	LBB0_6
LBB0_7:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_PWR_MODE_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CYAPA_PM_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CYAPA_GEN5,8,3                 ## @CYAPA_GEN5
	.comm	_PWR_MODE_OFF,4,2               ## @PWR_MODE_OFF
	.comm	_CYAPA_PM_ACTIVE,4,2            ## @CYAPA_PM_ACTIVE
	.no_dead_strip	_cyapa_disable_irq_for_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cyapa_disable_irq_for_cmd
_cyapa_disable_irq_for_cmd:             ; @cyapa_disable_irq_for_cmd
	.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
	mov	x19, x0
	ldr	x20, [x0, #32]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cbnz	w8, LBB0_7
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CYAPA_GEN5@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CYAPA_GEN5@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	bl	_disable_irq
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x4, [x8]
Lloh3:
	adrp	x8, _PWR_MODE_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PWR_MODE_OFF@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CYAPA_PM_ACTIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CYAPA_PM_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w3, [x9]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CYAPA_GEN5,8,3                 ; @CYAPA_GEN5
	.comm	_PWR_MODE_OFF,4,2               ; @PWR_MODE_OFF
	.comm	_CYAPA_PM_ACTIVE,4,2            ; @CYAPA_PM_ACTIVE
	.no_dead_strip	_cyapa_disable_irq_for_cmd
.subsections_via_symbols
