	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_hw_low_disable_gpe        ## -- Begin function acpi_hw_low_disable_gpe
	.p2align	4, 0x90
_acpi_hw_low_disable_gpe:               ## @acpi_hw_low_disable_gpe
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	leaq	4(%r12), %r14
	leaq	-36(%rbp), %rdi
	movq	%r14, %rsi
	callq	_acpi_hw_read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-36(%rbp), %edi
	movl	(%r15), %ecx
	subl	(%r12), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	callq	_ACPI_CLEAR_BIT
	movl	-36(%rbp), %edi
	movq	%r14, %rsi
	callq	_acpi_hw_write
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_1:
	movq	_AE_NOT_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_NOT_EXIST,4,2               ## @AE_NOT_EXIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_hw_low_disable_gpe        ; -- Begin function acpi_hw_low_disable_gpe
	.p2align	2
_acpi_hw_low_disable_gpe:               ; @acpi_hw_low_disable_gpe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x22, [x0, #8]
	cbz	x22, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x19, x22, #4
	add	x0, sp, #12
	mov	x1, x19
	bl	_acpi_hw_read
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w0, [sp, #12]
	ldr	w8, [x20]
	ldr	w9, [x22]
	sub	w8, w8, w9
	mov	w9, #1
	lsl	w1, w9, w8
	bl	_ACPI_CLEAR_BIT
	ldr	w0, [sp, #12]
	mov	x1, x19
	bl	_acpi_hw_write
	mov	x21, x0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _AE_NOT_EXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_NOT_EXIST@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_NOT_EXIST,4,2               ; @AE_NOT_EXIST
.subsections_via_symbols
