	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hid_gets_squirk
_hid_gets_squirk:                       ## @hid_gets_squirk
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_hid_ignore_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hid_match_id
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_HID_QUIRK_IGNORE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_2:
	movq	_hid_have_special_driver@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hid_match_id
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_HID_QUIRK_HAVE_SPECIAL_DRIVER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_4:
	orq	%r15, %rbx
	movq	_hid_quirks@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hid_match_id
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	orq	(%rax), %rbx
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movl	(%r14), %ecx
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_dbg_hid
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hid_ignore_list,4,2            ## @hid_ignore_list
	.comm	_HID_QUIRK_IGNORE,8,3           ## @HID_QUIRK_IGNORE
	.comm	_hid_have_special_driver,4,2    ## @hid_have_special_driver
	.comm	_HID_QUIRK_HAVE_SPECIAL_DRIVER,8,3 ## @HID_QUIRK_HAVE_SPECIAL_DRIVER
	.comm	_hid_quirks,4,2                 ## @hid_quirks
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found squirk 0x%lx for HID device 0x%04x:0x%04x\n"

	.no_dead_strip	_hid_gets_squirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hid_gets_squirk
_hid_gets_squirk:                       ; @hid_gets_squirk
	.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, x0
Lloh0:
	adrp	x8, _hid_ignore_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hid_ignore_list@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_hid_match_id
Lloh3:
	adrp	x8, _HID_QUIRK_IGNORE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_QUIRK_IGNORE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, xzr, x8, eq
Lloh6:
	adrp	x8, _hid_have_special_driver@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hid_have_special_driver@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hid_match_id
Lloh9:
	adrp	x8, _HID_QUIRK_HAVE_SPECIAL_DRIVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HID_QUIRK_HAVE_SPECIAL_DRIVER@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	orr	x20, x8, x20
Lloh12:
	adrp	x8, _hid_quirks@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hid_quirks@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hid_match_id
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	orr	x20, x8, x20
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	ldp	w3, w2, [x19]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_dbg_hid
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_hid_ignore_list,4,2            ; @hid_ignore_list
	.comm	_HID_QUIRK_IGNORE,8,3           ; @HID_QUIRK_IGNORE
	.comm	_hid_have_special_driver,4,2    ; @hid_have_special_driver
	.comm	_HID_QUIRK_HAVE_SPECIAL_DRIVER,8,3 ; @HID_QUIRK_HAVE_SPECIAL_DRIVER
	.comm	_hid_quirks,4,2                 ; @hid_quirks
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found squirk 0x%lx for HID device 0x%04x:0x%04x\n"

	.no_dead_strip	_hid_gets_squirk
.subsections_via_symbols
