	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_parent_hwirq
_get_parent_hwirq:                      ## @get_parent_hwirq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pdc_region_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movq	_pdc_region@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %r8
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %r8
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rdx), %rsi
	cmpl	%edi, %esi
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rcx,%rdx), %eax
	addl	%esi, %eax
	cmpl	%edi, %eax
	jle	LBB0_5
## %bb.4:
	movslq	%edi, %rax
	subq	%rsi, %rax
	addq	8(%rcx,%rdx), %rax
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON
	movq	$-1, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pdc_region_cnt,4,2             ## @pdc_region_cnt
	.comm	_pdc_region,8,3                 ## @pdc_region
	.no_dead_strip	_get_parent_hwirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_parent_hwirq
_get_parent_hwirq:                      ; @get_parent_hwirq
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _pdc_region_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pdc_region_cnt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x9, _pdc_region@GOTPAGE
Lloh4:
	ldr	x9, [x9, _pdc_region@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldursw	x10, [x9, #-8]
	cmp	w10, w0
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w11, [x9, #-4]
	add	w11, w11, w10
	cmp	w11, w0
	b.le	LBB0_2
; %bb.5:
	ldr	x8, [x9]
	sxtw	x9, w0
	sub	x9, x9, x10
	add	x0, x9, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #1
	bl	_WARN_ON
	mov	x0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pdc_region_cnt,4,2             ; @pdc_region_cnt
	.comm	_pdc_region,8,3                 ; @pdc_region
	.no_dead_strip	_get_parent_hwirq
.subsections_via_symbols
