	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function button_array_present
_button_array_present:                  ## @button_array_present
	.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
	callq	_ACPI_HANDLE
	movl	%eax, %ebx
	movq	_INTEL_HID_DSM_HEBC_V2_FN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movl	%ebx, %edi
	callq	_intel_hid_evaluate_method
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %eax
	testb	$6, -14(%rbp)
	jne	LBB0_5
LBB0_2:
	movq	_INTEL_HID_DSM_HEBC_V1_FN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movl	%ebx, %edi
	callq	_intel_hid_evaluate_method
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, %eax
	testb	$2, -14(%rbp)
	jne	LBB0_5
LBB0_4:
	movq	_button_array_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dmi_check_system
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_HID_DSM_HEBC_V2_FN,4,2   ## @INTEL_HID_DSM_HEBC_V2_FN
	.comm	_INTEL_HID_DSM_HEBC_V1_FN,4,2   ## @INTEL_HID_DSM_HEBC_V1_FN
	.comm	_button_array_table,4,2         ## @button_array_table
	.no_dead_strip	_button_array_present
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function button_array_present
_button_array_present:                  ; @button_array_present
	.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
	bl	_ACPI_HANDLE
	mov	x19, x0
Lloh0:
	adrp	x8, _INTEL_HID_DSM_HEBC_V2_FN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_HID_DSM_HEBC_V2_FN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_intel_hid_evaluate_method
	cbz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [sp, #10]
	tst	w8, #0x6
	b.ne	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _INTEL_HID_DSM_HEBC_V1_FN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_HID_DSM_HEBC_V1_FN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_intel_hid_evaluate_method
	cbz	x0, LBB0_4
; %bb.3:
	ldrb	w8, [sp, #10]
	tbnz	w8, #1, LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _button_array_table@GOTPAGE
Lloh7:
	ldr	x8, [x8, _button_array_table@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_dmi_check_system
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_HID_DSM_HEBC_V2_FN,4,2   ; @INTEL_HID_DSM_HEBC_V2_FN
	.comm	_INTEL_HID_DSM_HEBC_V1_FN,4,2   ; @INTEL_HID_DSM_HEBC_V1_FN
	.comm	_button_array_table,4,2         ; @button_array_table
	.no_dead_strip	_button_array_present
.subsections_via_symbols
