	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_acpi_int_ret
_write_acpi_int_ret:                    ## @write_acpi_int_ret
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	$1, -24(%rbp)
	leaq	-8(%rbp), %rax
	movq	%rax, -16(%rbp)
	movl	%edx, -8(%rbp)
	leaq	-24(%rbp), %rdx
	callq	_acpi_evaluate_object
	movq	%rax, %rcx
	movq	_AE_OK@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setne	%al
	negl	%eax
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_INTEGER,4,2          ## @ACPI_TYPE_INTEGER
	.comm	_AE_OK,8,3                      ## @AE_OK
	.no_dead_strip	_write_acpi_int_ret
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_acpi_int_ret
_write_acpi_int_ret:                    ; @write_acpi_int_ret
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_2
; %bb.1:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	w8, #1
	str	w8, [sp, #16]
	add	x8, sp, #8
	str	x8, [sp, #24]
	str	w2, [sp, #8]
	add	x2, sp, #16
	bl	_acpi_evaluate_object
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	csetm	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_INTEGER,4,2          ; @ACPI_TYPE_INTEGER
	.comm	_AE_OK,8,3                      ; @AE_OK
	.no_dead_strip	_write_acpi_int_ret
.subsections_via_symbols
