	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function et2012_quirks
_et2012_quirks:                         ## @et2012_quirks
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%ebx, %ebx
	movq	_DMI_DEV_TYPE_OEM_STRING@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	leaq	-80(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_dmi_find_device
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.3:
	movb	-62(%rbp), %al
	cmpb	$49, %al
	je	LBB0_4
## %bb.5:
	cmpb	$51, %al
	jne	LBB0_8
## %bb.6:
	movq	_quirk_asus_et2012_type3@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_quirk_asus_et2012_type1@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_quirks@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DMI_DEV_TYPE_OEM_STRING,4,2    ## @DMI_DEV_TYPE_OEM_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AEMS%24c"

	.comm	_quirk_asus_et2012_type1,4,2    ## @quirk_asus_et2012_type1
	.comm	_quirks,8,3                     ## @quirks
	.comm	_quirk_asus_et2012_type3,4,2    ## @quirk_asus_et2012_type3
	.no_dead_strip	_et2012_quirks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function et2012_quirks
_et2012_quirks:                         ; @et2012_quirks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x21, _DMI_DEV_TYPE_OEM_STRING@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DMI_DEV_TYPE_OEM_STRING@GOTPAGEOFF]
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, #0
	mov	x2, x19
	bl	_dmi_find_device
	cbz	x0, LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x19, x0
	ldr	w0, [x0]
	add	x2, sp, #10
	mov	x1, x20
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_1
; %bb.3:
	ldrb	w8, [sp, #28]
	cmp	w8, #49
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #51
	b.ne	LBB0_8
; %bb.5:
Lloh7:
	adrp	x8, _quirk_asus_et2012_type3@GOTPAGE
Lloh8:
	ldr	x8, [x8, _quirk_asus_et2012_type3@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _quirk_asus_et2012_type1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _quirk_asus_et2012_type1@GOTPAGEOFF]
LBB0_7:
Lloh11:
	adrp	x9, _quirks@GOTPAGE
Lloh12:
	ldr	x9, [x9, _quirks@GOTPAGEOFF]
Lloh13:
	str	x8, [x9]
LBB0_8:
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DMI_DEV_TYPE_OEM_STRING,4,2    ; @DMI_DEV_TYPE_OEM_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AEMS%24c"

	.comm	_quirk_asus_et2012_type1,4,2    ; @quirk_asus_et2012_type1
	.comm	_quirks,8,3                     ; @quirks
	.comm	_quirk_asus_et2012_type3,4,2    ; @quirk_asus_et2012_type3
	.no_dead_strip	_et2012_quirks
.subsections_via_symbols
