	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atpic_register_sources
_atpic_register_sources:                ## @atpic_register_sources
	.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
	movq	_atpics@GOTPCREL(%rip), %rax
	movq	_MASTER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	cmpq	%rdi, %rcx
	jne	LBB0_10
## %bb.1:
	movq	_NUM_ISA_IRQS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_10
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_intr_lookup_source
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	(%r14), %eax
	cmpl	%eax, %ebx
	jl	LBB0_4
## %bb.5:
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	movq	_atintrs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	xorl	%ebx, %ebx
	movq	_ICU_SLAVEID@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	addq	$4, %r15
	cmpl	%eax, %ebx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r12), %ebx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_intr_register_source
	movl	(%r14), %eax
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atpics,8,3                     ## @atpics
	.comm	_MASTER,8,3                     ## @MASTER
	.comm	_NUM_ISA_IRQS,4,2               ## @NUM_ISA_IRQS
	.comm	_atintrs,8,3                    ## @atintrs
	.comm	_ICU_SLAVEID,4,2                ## @ICU_SLAVEID
	.no_dead_strip	_atpic_register_sources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atpic_register_sources
_atpic_register_sources:                ; @atpic_register_sources
	.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
Lloh0:
	adrp	x8, _atpics@GOTPAGE
Lloh1:
	ldr	x8, [x8, _atpics@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MASTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MASTER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
Lloh6:
	adrp	x20, _NUM_ISA_IRQS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _NUM_ISA_IRQS@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	x8, x0
	ccmp	w9, #1, #8, eq
	b.ge	LBB0_2
LBB0_1:
	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
	ret
LBB0_2:
	mov	w19, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_intr_lookup_source
	cbnz	x0, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_3
; %bb.5:
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.6:
	mov	w21, #0
Lloh8:
	adrp	x9, _atintrs@GOTPAGE
Lloh9:
	ldr	x9, [x9, _atintrs@GOTPAGEOFF]
Lloh10:
	ldr	x19, [x9]
Lloh11:
	adrp	x22, _ICU_SLAVEID@GOTPAGE
Lloh12:
	ldr	x22, [x22, _ICU_SLAVEID@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	add	x19, x19, #4
	cmp	w21, w8
	b.ge	LBB0_1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	cmp	w21, w9
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_intr_register_source
	ldr	w8, [x20]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_atpics,8,3                     ; @atpics
	.comm	_MASTER,8,3                     ; @MASTER
	.comm	_NUM_ISA_IRQS,4,2               ; @NUM_ISA_IRQS
	.comm	_atintrs,8,3                    ; @atintrs
	.comm	_ICU_SLAVEID,4,2                ; @ICU_SLAVEID
	.no_dead_strip	_atpic_register_sources
.subsections_via_symbols
