	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hid_deinit                     ## -- Begin function hid_deinit
	.p2align	4, 0x90
_hid_deinit:                            ## @hid_deinit
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_RARCH_LOG
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_RARCH_LOG
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	callq	*(%rax)
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	callq	_RARCH_LOG
	movl	(%rbx), %edi
	callq	_pad_connection_destroy
	leaq	L_.str.3(%rip), %rdi
	callq	_RARCH_LOG
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[hid]: destroying instance\n"

L_.str.1:                               ## @.str.1
	.asciz	"[hid]: tearing down HID subsystem driver...\n"

L_.str.2:                               ## @.str.2
	.asciz	"[hid]: destroying pad data...\n"

L_.str.3:                               ## @.str.3
	.asciz	"[hid]: wiping instance data...\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hid_deinit                     ; -- Begin function hid_deinit
	.p2align	2
_hid_deinit:                            ; @hid_deinit
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_LOG
	ldp	x0, x8, [x19, #8]
	ldr	x8, [x8]
	blr	x8
LBB0_4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_RARCH_LOG
	ldr	w0, [x19]
	bl	_pad_connection_destroy
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RARCH_LOG
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[hid]: destroying instance\n"

l_.str.1:                               ; @.str.1
	.asciz	"[hid]: tearing down HID subsystem driver...\n"

l_.str.2:                               ; @.str.2
	.asciz	"[hid]: destroying pad data...\n"

l_.str.3:                               ; @.str.3
	.asciz	"[hid]: wiping instance data...\n"

.subsections_via_symbols
