	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function madt_handler
_madt_handler:                          ## @madt_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.2:
	cmpq	$0, 8(%rsi)
	je	LBB0_5
## %bb.3:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.4:
	movl	16(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_device_printf                  ## TAILCALL
LBB0_6:
	movq	(%rdi), %rax
	movq	_MAXCPU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_8
## %bb.7:
	movq	(%rsi), %rcx
	movq	%rdi, (%rcx,%rax,8)
LBB0_8:
	popq	%rbp
	retq
LBB0_5:
	movq	%rdi, 8(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bootverbose,4,2                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gic: Already have a distributor table"

	.comm	_MAXCPU,8,3                     ## @MAXCPU
	.no_dead_strip	_madt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function madt_handler
_madt_handler:                          ; @madt_handler
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _bootverbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	w0, [x1, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	_device_printf
LBB0_5:
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _MAXCPU@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAXCPU@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_7
; %bb.6:
	ldr	x9, [x1]
	str	x0, [x9, x8, lsl #3]
LBB0_7:
	ret
LBB0_8:
	str	x0, [x1, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_bootverbose,4,2                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gic: Already have a distributor table"

	.comm	_MAXCPU,8,3                     ; @MAXCPU
	.no_dead_strip	_madt_handler
.subsections_via_symbols
