	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc_enable_intr
_pdc_enable_intr:                       ## @pdc_enable_intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ebx
	leal	31(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	movl	%esi, %r15d
	movl	%eax, %r14d
	sarl	$5, %r14d
	andl	$-32, %eax
	subl	%eax, %ebx
	movq	_pdc_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_lock
	movq	_IRQ_ENABLE_BANK@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%r14d, %esi
	callq	_pdc_reg_read
	movl	%eax, %edi
	movl	%ebx, %esi
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	callq	_ENABLE_INTR
	jmp	LBB0_3
LBB0_2:
	callq	_CLEAR_INTR
LBB0_3:
	movl	(%r12), %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_pdc_reg_write
	movq	_pdc_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pdc_lock,4,2                   ## @pdc_lock
	.comm	_IRQ_ENABLE_BANK,4,2            ## @IRQ_ENABLE_BANK
	.no_dead_strip	_pdc_enable_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc_enable_intr
_pdc_enable_intr:                       ; @pdc_enable_intr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	ldr	w8, [x0]
	add	w9, w8, #31
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w19, w9, #5
	and	w9, w9, #0xffffffe0
	sub	w20, w8, w9
Lloh0:
	adrp	x0, _pdc_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pdc_lock@GOTPAGEOFF]
	bl	_raw_spin_lock
Lloh2:
	adrp	x22, _IRQ_ENABLE_BANK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IRQ_ENABLE_BANK@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x19
	bl	_pdc_reg_read
	mov	x1, x20
	cbz	w21, LBB0_2
; %bb.1:
	bl	_ENABLE_INTR
	b	LBB0_3
LBB0_2:
	bl	_CLEAR_INTR
LBB0_3:
	mov	x2, x0
	ldr	w0, [x22]
	mov	x1, x19
	bl	_pdc_reg_write
Lloh4:
	adrp	x0, _pdc_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _pdc_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_raw_spin_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pdc_lock,4,2                   ; @pdc_lock
	.comm	_IRQ_ENABLE_BANK,4,2            ; @IRQ_ENABLE_BANK
	.no_dead_strip	_pdc_enable_intr
.subsections_via_symbols
