	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ati_remote_rc_init
_ati_remote_rc_init:                    ## @ati_remote_rc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rbx
	movq	%rdi, 40(%rbx)
	movq	_RC_PROTO_BIT_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	_ati_remote_rc_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_ati_remote_rc_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	16(%rdi), %eax
	movl	%eax, 24(%rbx)
	movl	12(%rdi), %eax
	movl	%eax, 20(%rbx)
	movl	8(%rdi), %edi
	leaq	16(%rbx), %rsi
	callq	_usb_to_input_id
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RC_PROTO_BIT_OTHER,4,2         ## @RC_PROTO_BIT_OTHER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ati_remote"

	.comm	_ati_remote_rc_open,4,2         ## @ati_remote_rc_open
	.comm	_ati_remote_rc_close,4,2        ## @ati_remote_rc_close
	.no_dead_strip	_ati_remote_rc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ati_remote_rc_init
_ati_remote_rc_init:                    ; @ati_remote_rc_init
	.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
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _RC_PROTO_BIT_OTHER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RC_PROTO_BIT_OTHER@GOTPAGEOFF]
	str	x0, [x20, #40]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #36]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
Lloh5:
	adrp	x8, _ati_remote_rc_open@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ati_remote_rc_open@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ati_remote_rc_close@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ati_remote_rc_close@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #28]
	ldur	d0, [x0, #12]
	stur	d0, [x20, #20]
	ldr	w0, [x0, #8]
	add	x1, x20, #16
	bl	_usb_to_input_id
	ldr	x8, [x19]
	str	x8, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RC_PROTO_BIT_OTHER,4,2         ; @RC_PROTO_BIT_OTHER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ati_remote"

	.comm	_ati_remote_rc_open,4,2         ; @ati_remote_rc_open
	.comm	_ati_remote_rc_close,4,2        ; @ati_remote_rc_close
	.no_dead_strip	_ati_remote_rc_init
.subsections_via_symbols
