	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asle_set_button_array
_asle_set_button_array:                 ## @asle_set_button_array
	.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	%esi, %ebx
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
LBB0_2:
	movq	_ASLE_IUER_ROTATION_LOCK_BTN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
LBB0_4:
	movq	_ASLE_IUER_VOLUME_DOWN_BTN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
LBB0_6:
	movq	_ASLE_IUER_VOLUME_UP_BTN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
LBB0_8:
	movq	_ASLE_IUER_WINDOWS_BTN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
LBB0_10:
	movq	_ASLE_IUER_POWER_BTN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
LBB0_12:
	movq	_ASLC_BUTTON_ARRAY_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Button array event is not supported (nothing)\n"

	.comm	_ASLE_IUER_ROTATION_LOCK_BTN,4,2 ## @ASLE_IUER_ROTATION_LOCK_BTN
L_.str.1:                               ## @.str.1
	.asciz	"Button array event is not supported (rotation lock)\n"

	.comm	_ASLE_IUER_VOLUME_DOWN_BTN,4,2  ## @ASLE_IUER_VOLUME_DOWN_BTN
L_.str.2:                               ## @.str.2
	.asciz	"Button array event is not supported (volume down)\n"

	.comm	_ASLE_IUER_VOLUME_UP_BTN,4,2    ## @ASLE_IUER_VOLUME_UP_BTN
L_.str.3:                               ## @.str.3
	.asciz	"Button array event is not supported (volume up)\n"

	.comm	_ASLE_IUER_WINDOWS_BTN,4,2      ## @ASLE_IUER_WINDOWS_BTN
L_.str.4:                               ## @.str.4
	.asciz	"Button array event is not supported (windows)\n"

	.comm	_ASLE_IUER_POWER_BTN,4,2        ## @ASLE_IUER_POWER_BTN
L_.str.5:                               ## @.str.5
	.asciz	"Button array event is not supported (power)\n"

	.comm	_ASLC_BUTTON_ARRAY_FAILED,4,2   ## @ASLC_BUTTON_ARRAY_FAILED
	.no_dead_strip	_asle_set_button_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asle_set_button_array
_asle_set_button_array:                 ; @asle_set_button_array
	.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, x1
	cbnz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
LBB0_2:
Lloh2:
	adrp	x8, _ASLE_IUER_ROTATION_LOCK_BTN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASLE_IUER_ROTATION_LOCK_BTN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
LBB0_4:
Lloh7:
	adrp	x8, _ASLE_IUER_VOLUME_DOWN_BTN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ASLE_IUER_VOLUME_DOWN_BTN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.5:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
LBB0_6:
Lloh12:
	adrp	x8, _ASLE_IUER_VOLUME_UP_BTN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ASLE_IUER_VOLUME_UP_BTN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.7:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
LBB0_8:
Lloh17:
	adrp	x8, _ASLE_IUER_WINDOWS_BTN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ASLE_IUER_WINDOWS_BTN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_10
; %bb.9:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
LBB0_10:
Lloh22:
	adrp	x8, _ASLE_IUER_POWER_BTN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ASLE_IUER_POWER_BTN@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_12
; %bb.11:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
LBB0_12:
Lloh27:
	adrp	x8, _ASLC_BUTTON_ARRAY_FAILED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ASLC_BUTTON_ARRAY_FAILED@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Button array event is not supported (nothing)\n"

	.comm	_ASLE_IUER_ROTATION_LOCK_BTN,4,2 ; @ASLE_IUER_ROTATION_LOCK_BTN
l_.str.1:                               ; @.str.1
	.asciz	"Button array event is not supported (rotation lock)\n"

	.comm	_ASLE_IUER_VOLUME_DOWN_BTN,4,2  ; @ASLE_IUER_VOLUME_DOWN_BTN
l_.str.2:                               ; @.str.2
	.asciz	"Button array event is not supported (volume down)\n"

	.comm	_ASLE_IUER_VOLUME_UP_BTN,4,2    ; @ASLE_IUER_VOLUME_UP_BTN
l_.str.3:                               ; @.str.3
	.asciz	"Button array event is not supported (volume up)\n"

	.comm	_ASLE_IUER_WINDOWS_BTN,4,2      ; @ASLE_IUER_WINDOWS_BTN
l_.str.4:                               ; @.str.4
	.asciz	"Button array event is not supported (windows)\n"

	.comm	_ASLE_IUER_POWER_BTN,4,2        ; @ASLE_IUER_POWER_BTN
l_.str.5:                               ; @.str.5
	.asciz	"Button array event is not supported (power)\n"

	.comm	_ASLC_BUTTON_ARRAY_FAILED,4,2   ; @ASLC_BUTTON_ARRAY_FAILED
	.no_dead_strip	_asle_set_button_array
.subsections_via_symbols
