	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_truncate_for32bit_table ## -- Begin function acpi_ex_truncate_for32bit_table
	.p2align	4, 0x90
_acpi_ex_truncate_for32bit_table:       ## @acpi_ex_truncate_for32bit_table
	.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
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_ACPI_FUNCTION_ENTRY
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movq	_ACPI_DESC_TYPE_OPERAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	(%rbx), %rax
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_acpi_gbl_integer_byte_width@GOTPCREL(%rip), %rcx
	cmpl	$4, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	_ACPI_UINT32_MAX@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_DESC_TYPE_OPERAND,8,3     ## @ACPI_DESC_TYPE_OPERAND
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.comm	_acpi_gbl_integer_byte_width,4,2 ## @acpi_gbl_integer_byte_width
	.comm	_ACPI_UINT32_MAX,8,3            ## @ACPI_UINT32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_truncate_for32bit_table ; -- Begin function acpi_ex_truncate_for32bit_table
	.p2align	2
_acpi_ex_truncate_for32bit_table:       ; @acpi_ex_truncate_for32bit_table
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ACPI_FUNCTION_ENTRY
	cbz	x19, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_ACPI_GET_DESCRIPTOR_TYPE
Lloh0:
	adrp	x8, _ACPI_DESC_TYPE_OPERAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_DESC_TYPE_OPERAND@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _acpi_gbl_integer_byte_width@GOTPAGE
Lloh7:
	ldr	x10, [x10, _acpi_gbl_integer_byte_width@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, x9
	ccmp	w10, #4, #0, eq
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _ACPI_UINT32_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_UINT32_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_DESC_TYPE_OPERAND,8,3     ; @ACPI_DESC_TYPE_OPERAND
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.comm	_acpi_gbl_integer_byte_width,4,2 ; @acpi_gbl_integer_byte_width
	.comm	_ACPI_UINT32_MAX,8,3            ; @ACPI_UINT32_MAX
.subsections_via_symbols
