	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_handle_dmar_remapping_structure
_acpi_handle_dmar_remapping_structure:  ## @acpi_handle_dmar_remapping_structure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-1, %eax
	cmpl	$8, %esi
	jl	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	cmpl	%esi, (%rdi)
	jg	LBB0_10
## %bb.2:
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	%rbx, %rdi
	callq	_acpi_handle_dmar_atsr
	jmp	LBB0_9
LBB0_8:
	movl	$10, %edi
	callq	_putchar
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_acpi_handle_dmar_rmrr
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_acpi_handle_dmar_drhd
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	callq	_acpi_handle_dmar_rhsa
LBB0_9:
	movl	(%rbx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"\tType=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"\tLength=%d\n"

	.no_dead_strip	_acpi_handle_dmar_remapping_structure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_handle_dmar_remapping_structure
_acpi_handle_dmar_remapping_structure:  ; @acpi_handle_dmar_remapping_structure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cmp	w1, #8
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_11
LBB0_3:
	ldr	w8, [x19, #4]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x19
	bl	_acpi_handle_dmar_atsr
	b	LBB0_10
LBB0_6:
	mov	w0, #10
	bl	_putchar
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_acpi_handle_dmar_rmrr
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_acpi_handle_dmar_drhd
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_acpi_handle_dmar_rhsa
LBB0_10:
	ldr	w0, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"\tType=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"\tLength=%d\n"

	.no_dead_strip	_acpi_handle_dmar_remapping_structure
.subsections_via_symbols
