	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hid_quirks_init                ## -- Begin function hid_quirks_init
	.p2align	4, 0x90
_hid_quirks_init:                       ## @hid_quirks_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	%rsi, -64(%rbp)
	testl	%edx, %edx
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movl	%edx, %r14d
	xorl	%r15d, %r15d
	leaq	-42(%rbp), %r12
	leaq	-48(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r15,8), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_warn
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r15,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_sscanf
	movzwl	-44(%rbp), %ecx
	movq	%rcx, -72(%rbp)
	movzwl	-42(%rbp), %ecx
	movq	%rcx, -80(%rbp)
	cmpl	$3, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %esi
	leaq	-80(%rbp), %rdi
	callq	_hid_modify_dquirk
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%hx:0x%hx:0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"Could not parse HID quirk module param %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hid_quirks_init                ; -- Begin function hid_quirks_init
	.p2align	2
_hid_quirks_init:                       ; @hid_quirks_init
	.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
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	x1, [sp, #32]
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x0
	mov	w22, w2
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19]
	mov	x0, x21
	bl	_pr_warn
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #8
	subs	x22, x22, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #14
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x1, x20
	bl	_sscanf
	ldrh	w8, [sp, #14]
	ldrh	w9, [sp, #12]
	stp	x9, x8, [sp, #16]
	cmp	w0, #3
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [sp, #8]
	add	x0, sp, #16
	bl	_hid_modify_dquirk
	cbnz	x0, LBB0_2
	b	LBB0_3
LBB0_7:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%hx:0x%hx:0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"Could not parse HID quirk module param %s\n"

.subsections_via_symbols
