	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ttusbir_probe
LCPI0_0:
	.long	0                               ## 0x0
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_1:
	.long	32                              ## 0x20
	.long	16                              ## 0x10
	.long	48                              ## 0x30
	.long	16                              ## 0x10
LCPI0_2:
	.long	64                              ## 0x40
	.long	16                              ## 0x10
	.long	80                              ## 0x50
	.long	16                              ## 0x10
LCPI0_3:
	.long	96                              ## 0x60
	.long	16                              ## 0x10
	.long	112                             ## 0x70
	.long	16                              ## 0x10
LCPI0_4:
	.long	170                             ## 0xaa
	.long	1                               ## 0x1
	.long	5                               ## 0x5
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ttusbir_probe:                         ## @ttusbir_probe
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$96, %edi
	callq	_kzalloc
	movq	%rax, %r12
	movq	_RC_DRIVER_IR_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rc_allocate_device
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_24
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	jle	LBB0_25
## %bb.3:
	xorl	%ecx, %ecx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%r14), %rax
	movq	%rcx, %rdx
	shlq	$4, %rdx
	cmpl	$0, 8(%rax,%rdx)
	jle	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rdx), %rcx
	addq	$8, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	$-1, -52(%rbp)                  ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	movl	$-1, -64(%rbp)                  ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %r14
	movq	(%rax,%rdx), %rbx
	movl	(%rbx,%r12,4), %edi
	addq	%r15, %rbx
	callq	_le16_to_cpu
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_usb_endpoint_dir_in
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	callq	_usb_endpoint_xfer_isoc
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$16, %r13d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%r12d, %eax
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	callq	_usb_endpoint_dir_out
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	callq	_usb_endpoint_xfer_bulk
	cmpl	$32, %r13d
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %ecx
	cmovel	%r12d, %ecx
	testq	%rax, %rax
	cmovnel	%ecx, %esi
	movq	%r14, %rdx
	cmpl	$-1, %esi
	jne	LBB0_13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdx
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	cmpl	$-1, %esi
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$-1, -52(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r12
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jge	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	addq	$4, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%esi, (%r12)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r12)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %ebx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	movslq	(%r14), %rax
	cmpq	%rax, %rcx
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$-1, %ebx
	je	LBB0_4
LBB0_21:
	cmpl	$-1, %ebx
	je	LBB0_25
## %bb.22:
	leaq	4(%r14), %r15
	movq	%r15, 72(%r12)
	movq	%r14, %rdi
	callq	_interface_to_usbdev
	movl	%eax, 32(%r12)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 88(%r12)
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_usb_set_interface
	testl	%eax, %eax
	je	LBB0_36
LBB0_23:
	movl	%eax, %r13d
	jmp	LBB0_27
LBB0_24:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	testq	%r12, %r12
	jne	LBB0_29
	jmp	LBB0_34
LBB0_25:
	addq	$4, %r14
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_26:
	subl	(%rax), %r13d
LBB0_27:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_34
LBB0_29:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_NUM_URBS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_33
## %bb.30:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%rbx, %rdi
	callq	_usb_kill_urb
	movl	32(%r12), %edi
	movq	24(%rbx), %rdx
	movl	16(%rbx), %ecx
	movl	$128, %esi
	callq	_usb_free_coherent
	movq	%rbx, %rdi
	callq	_usb_free_urb
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_31
LBB0_33:
	movq	24(%r12), %rdi
	callq	_usb_kill_urb
	movq	24(%r12), %rdi
	callq	_usb_free_urb
	movq	%r12, %rdi
	callq	_kfree
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_34:
	movq	%rbx, %rdi
	callq	_rc_free_device
LBB0_35:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_NUM_URBS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_41
## %bb.37:
	xorl	%ebx, %ebx
	movabsq	$549755813896, %r14             ## imm = 0x8000000008
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$8, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_47
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	%rax, %r13
	movq	%r12, %r15
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	32(%r12), %edi
	movl	%edi, 56(%rax)
	movq	%r12, 48(%rax)
	movl	4(%r12), %esi
	callq	_usb_rcvisocpipe
	movl	%eax, 44(%r13)
	movl	$1, (%r13)
	movl	32(%r12), %edi
	movl	(%r15), %edx
	movq	%r13, %rcx
	addq	$16, %rcx
	movl	$128, %esi
	callq	_usb_alloc_coherent
	testq	%rax, %rax
	je	LBB0_48
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_URB_ISO_ASAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 4(%r13)
	movq	%rax, 24(%r13)
	movq	_ttusbir_urb_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	%r14, 8(%r13)
	movq	32(%r13), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,16,16,16]
	movups	%xmm0, (%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [32,16,48,16]
	movups	%xmm0, 16(%rax)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [64,16,80,16]
	movups	%xmm0, 32(%rax)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [96,16,112,16]
	movups	%xmm0, 48(%rax)
	movq	40(%r12), %rax
	movq	%r13, (%rax,%rbx,8)
	incq	%rbx
	movq	_NUM_URBS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_38
LBB0_41:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_46
## %bb.42:
	movq	%rax, %rbx
	movq	8(%r12), %rax
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [170,1,5,1]
	movups	%xmm0, (%rax)
	movl	(%r12), %esi
	movl	32(%r12), %r13d
	movl	%r13d, %edi
	callq	_usb_sndbulkpipe
	movq	8(%r12), %rcx
	movq	_ttusbir_bulk_complete@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movl	$8, %r8d
	callq	_usb_fill_bulk_urb
	leaq	48(%r12), %r15
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 48(%r12)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 56(%r12)
	movq	_ttusbir_brightness_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r12)
	movq	_ttusbir_brightness_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r12)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 16(%r12)
	leaq	84(%r12), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_led_classdev_register
	testl	%eax, %eax
	jne	LBB0_23
## %bb.43:
	movl	32(%r12), %edi
	movl	80(%r12), %esi
	movl	$4, %edx
	callq	_usb_make_path
	movq	_DRIVER_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 56(%rbx)
	movl	80(%r12), %eax
	movl	%eax, 52(%rbx)
	movl	32(%r12), %edi
	movq	%rbx, %rsi
	addq	$48, %rsi
	callq	_usb_to_input_id
	movq	%r14, 40(%rbx)
	movq	_RC_PROTO_BIT_ALL_IR_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r12, 24(%rbx)
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_RC_MAP_TT_1500@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$1, (%rbx)
	movq	_IR_DEFAULT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 8(%rbx)
	movq	_NS_PER_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_rc_register_device
	testl	%eax, %eax
	je	LBB0_49
## %bb.44:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_45:
	movq	%r15, %rdi
	callq	_led_classdev_unregister
	testq	%r12, %r12
	jne	LBB0_29
	jmp	LBB0_34
LBB0_46:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_47:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_48:
	movq	%r13, %rdi
	callq	_usb_free_urb
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_26
LBB0_49:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_usb_set_intfdata
	movq	_NUM_URBS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_53
## %bb.50:
	xorl	%ebx, %ebx
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	jne	LBB0_54
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=1
	incq	%rbx
	movq	_NUM_URBS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	xorl	%r13d, %r13d
	cmpq	%rax, %rbx
	jl	LBB0_51
	jmp	LBB0_35
LBB0_53:
	xorl	%r13d, %r13d
	jmp	LBB0_35
LBB0_54:
	movl	%eax, %r13d
	movq	72(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rc_unregister_device
	xorl	%ebx, %ebx
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RC_DRIVER_IR_RAW,4,2           ## @RC_DRIVER_IR_RAW
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot find expected altsetting\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NUM_URBS,4,2                   ## @NUM_URBS
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
	.comm	_URB_ISO_ASAP,4,2               ## @URB_ISO_ASAP
	.comm	_ttusbir_urb_complete,4,2       ## @ttusbir_urb_complete
	.comm	_ttusbir_bulk_complete,4,2      ## @ttusbir_bulk_complete
L_.str.1:                               ## @.str.1
	.asciz	"ttusbir:green:power"

L_.str.2:                               ## @.str.2
	.asciz	"rc-feedback"

	.comm	_ttusbir_brightness_set,4,2     ## @ttusbir_brightness_set
	.comm	_ttusbir_brightness_get,4,2     ## @ttusbir_brightness_get
	.comm	_DRIVER_DESC,4,2                ## @DRIVER_DESC
	.comm	_RC_PROTO_BIT_ALL_IR_DECODER,4,2 ## @RC_PROTO_BIT_ALL_IR_DECODER
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_RC_MAP_TT_1500,4,2             ## @RC_MAP_TT_1500
	.comm	_IR_DEFAULT_TIMEOUT,4,2         ## @IR_DEFAULT_TIMEOUT
	.comm	_NS_PER_BIT,4,2                 ## @NS_PER_BIT
L_.str.3:                               ## @.str.3
	.asciz	"failed to register rc device %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to submit urb %d\n"

	.no_dead_strip	_ttusbir_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ttusbir_probe
lCPI0_0:
	.long	8                               ; 0x8
	.long	128                             ; 0x80
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	0                               ; 0x0
	.long	16                              ; 0x10
	.long	16                              ; 0x10
	.long	16                              ; 0x10
lCPI0_2:
	.long	32                              ; 0x20
	.long	16                              ; 0x10
	.long	48                              ; 0x30
	.long	16                              ; 0x10
lCPI0_3:
	.long	64                              ; 0x40
	.long	16                              ; 0x10
	.long	80                              ; 0x50
	.long	16                              ; 0x10
lCPI0_4:
	.long	96                              ; 0x60
	.long	16                              ; 0x10
	.long	112                             ; 0x70
	.long	16                              ; 0x10
lCPI0_5:
	.long	170                             ; 0xaa
	.long	1                               ; 0x1
	.long	5                               ; 0x5
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ttusbir_probe:                         ; @ttusbir_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #96
	bl	_kzalloc
	mov	x19, x0
Lloh3:
	adrp	x8, _RC_DRIVER_IR_RAW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC_DRIVER_IR_RAW@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_rc_allocate_device
	mov	x25, x0
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_22
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.3:
	str	x25, [sp, #88]                  ; 8-byte Folded Spill
	mov	x24, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #-1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	ccmn	w23, #1, #0, lt
	b.ne	LBB0_18
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x21, #8]
	add	x26, x8, x24, lsl #4
	ldr	w9, [x26, #8]!
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, #0
	mov	w28, #-1
	mov	w25, #1
	mov	w20, #-1
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x9, x24, #4
	ldr	x8, [x8, x9]
	add	x22, x8, x27
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x23, x0
	mov	x0, x22
	bl	_usb_endpoint_dir_in
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	bl	_usb_endpoint_xfer_isoc
	cmp	x0, #0
	ccmp	w23, #16, #0, ne
	b.eq	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	bl	_usb_endpoint_dir_out
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	bl	_usb_endpoint_xfer_bulk
	sub	w8, w25, #1
	cmp	w23, #32
	ccmp	x0, #0, #4, eq
	csel	w20, w8, w20, ne
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	cmn	w20, #1
	b.ne	LBB0_14
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	sub	x28, x25, #1
	cmn	w20, #1
	b.eq	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=2
	cmn	w28, #1
	b.ne	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=2
	ldrsw	x8, [x26]
	cmp	x25, x8
	b.ge	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x21, #8]
	add	x25, x25, #1
	add	x27, x27, #4
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	stp	w20, w28, [x19]
	mov	x23, x24
	b	LBB0_5
LBB0_18:
	cmn	w23, #1
	ldr	x25, [sp, #88]                  ; 8-byte Folded Reload
	b.eq	LBB0_21
; %bb.19:
	add	x22, x21, #4
	str	x22, [x19, #72]
	mov	x0, x21
	bl	_interface_to_usbdev
	str	w0, [x19, #32]
	str	x25, [x19, #88]
	mov	w1, #0
	mov	x2, x23
	bl	_usb_set_interface
	cbz	w0, LBB0_31
; %bb.20:
	mov	x24, x0
	b	LBB0_23
LBB0_21:
	add	x0, x21, #4
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_23:
	cbz	x19, LBB0_29
; %bb.24:
Lloh12:
	adrp	x20, _NUM_URBS@GOTPAGE
Lloh13:
	ldr	x20, [x20, _NUM_URBS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.25:
	mov	x22, #0
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x21, [x8, x22, lsl #3]
	cbz	x21, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x21
	bl	_usb_kill_urb
	ldr	w0, [x19, #32]
	ldr	x2, [x21, #24]
	ldr	w3, [x21, #16]
	mov	w1, #128
	bl	_usb_free_coherent
	mov	x0, x21
	bl	_usb_free_urb
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_26
LBB0_28:
	ldr	x0, [x19, #24]
	bl	_usb_kill_urb
	ldr	x0, [x19, #24]
	bl	_usb_free_urb
	mov	x0, x19
	bl	_kfree
LBB0_29:
	mov	x0, x25
	bl	_rc_free_device
LBB0_30:
	mov	x0, x24
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_31:
Lloh14:
	adrp	x8, _NUM_URBS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NUM_URBS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.32:
	mov	x20, #0
	mov	w24, #1
Lloh17:
	adrp	x25, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh18:
	ldr	x25, [x25, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
Lloh19:
	adrp	x27, _URB_ISO_ASAP@GOTPAGE
Lloh20:
	ldr	x27, [x27, _URB_ISO_ASAP@GOTPAGEOFF]
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh23:
	adrp	x8, lCPI0_1@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
Lloh25:
	adrp	x8, lCPI0_2@PAGE
Lloh26:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
Lloh27:
	adrp	x8, lCPI0_3@PAGE
Lloh28:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	str	q0, [sp, #32]                   ; 16-byte Folded Spill
Lloh29:
	adrp	x8, lCPI0_4@PAGE
Lloh30:
	ldr	q0, [x8, lCPI0_4@PAGEOFF]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
Lloh31:
	adrp	x28, _ttusbir_urb_complete@GOTPAGE
Lloh32:
	ldr	x28, [x28, _ttusbir_urb_complete@GOTPAGEOFF]
Lloh33:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh34:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	w0, #8
	bl	_usb_alloc_urb
	cbz	x0, LBB0_40
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x23, x0
	ldr	w0, [x19, #32]
	str	w0, [x23, #56]
	str	x19, [x23, #48]
	ldr	w1, [x19, #4]
	bl	_usb_rcvisocpipe
	str	w0, [x23, #44]
	str	w24, [x23]
	ldr	w0, [x19, #32]
	ldr	w2, [x26]
	add	x3, x23, #16
	mov	w1, #128
	bl	_usb_alloc_coherent
	cbz	x0, LBB0_39
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x27]
	orr	w8, w9, w8
	str	w8, [x23, #4]
	str	x0, [x23, #24]
	ldr	w8, [x28]
	str	w8, [x23, #40]
	str	d8, [x23, #8]
	ldr	x8, [x23, #32]
	ldr	q1, [sp, #64]                   ; 16-byte Folded Reload
	ldr	q0, [sp, #48]                   ; 16-byte Folded Reload
	stp	q1, q0, [x8]
	ldr	q1, [sp, #32]                   ; 16-byte Folded Reload
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	stp	q1, q0, [x8, #32]
	ldr	x8, [x19, #40]
	str	x23, [x8, x20, lsl #3]
	add	x20, x20, #1
Lloh35:
	adrp	x8, _NUM_URBS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NUM_URBS@GOTPAGEOFF]
Lloh37:
	ldrsw	x8, [x8]
	cmp	x20, x8
	b.lt	LBB0_33
LBB0_36:
Lloh38:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x19, #24]
	cbz	x0, LBB0_40
; %bb.37:
	mov	x23, x0
	ldr	x8, [x19, #8]
Lloh41:
	adrp	x9, lCPI0_5@PAGE
Lloh42:
	ldr	q0, [x9, lCPI0_5@PAGEOFF]
	str	q0, [x8]
	ldr	w24, [x19, #32]
	ldr	w1, [x19]
	mov	x0, x24
	bl	_usb_sndbulkpipe
	mov	x2, x0
	ldr	x3, [x19, #8]
Lloh43:
	adrp	x8, _ttusbir_bulk_complete@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ttusbir_bulk_complete@GOTPAGEOFF]
Lloh45:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	w4, #8
	mov	x6, x19
	bl	_usb_fill_bulk_urb
Lloh46:
	adrp	x8, l_.str.1@PAGE
Lloh47:
	add	x9, x8, l_.str.1@PAGEOFF
	mov	x23, x19
Lloh48:
	adrp	x8, l_.str.2@PAGE
Lloh49:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x9, x8, [x23, #48]!
Lloh50:
	adrp	x8, _ttusbir_brightness_set@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ttusbir_brightness_set@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _ttusbir_brightness_get@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ttusbir_brightness_get@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	stp	w9, w8, [x23, #16]
	movi.2s	v0, #1
	stur	d0, [x23, #-32]
	add	x0, x23, #36
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x22
	mov	x1, x23
	bl	_led_classdev_register
	cbz	w0, LBB0_41
; %bb.38:
	mov	x24, x0
	ldr	x25, [sp, #88]                  ; 8-byte Folded Reload
	b	LBB0_23
LBB0_39:
	mov	x0, x23
	bl	_usb_free_urb
LBB0_40:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	neg	w24, w8
	ldr	x25, [sp, #88]                  ; 8-byte Folded Reload
	b	LBB0_23
LBB0_41:
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #80]
	mov	w2, #4
	bl	_usb_make_path
Lloh59:
	adrp	x8, _DRIVER_DESC@GOTPAGE
Lloh60:
	ldr	x8, [x8, _DRIVER_DESC@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	ldr	w9, [x19, #80]
	ldr	x20, [sp, #88]                  ; 8-byte Folded Reload
	stp	w9, w8, [x20, #52]
	ldr	w0, [x19, #32]
	add	x1, x20, #48
	bl	_usb_to_input_id
	str	x22, [x20, #40]
Lloh62:
	adrp	x8, _RC_PROTO_BIT_ALL_IR_DECODER@GOTPAGE
Lloh63:
	ldr	x8, [x8, _RC_PROTO_BIT_ALL_IR_DECODER@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	str	x19, [x20, #24]
Lloh65:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	str	w8, [x20, #20]
Lloh68:
	adrp	x8, _RC_MAP_TT_1500@GOTPAGE
Lloh69:
	ldr	x8, [x8, _RC_MAP_TT_1500@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	mov	w9, #1
	str	w9, [x20]
Lloh71:
	adrp	x9, _IR_DEFAULT_TIMEOUT@GOTPAGE
Lloh72:
	ldr	x9, [x9, _IR_DEFAULT_TIMEOUT@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	add	w10, w9, w9, lsl #2
	lsl	w10, w10, #1
	stp	w9, w10, [x20, #4]
Lloh74:
	adrp	x9, _NS_PER_BIT@GOTPAGE
Lloh75:
	ldr	x9, [x9, _NS_PER_BIT@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	mov	x0, x20
	bl	_rc_register_device
	cbz	w0, LBB0_44
; %bb.42:
	mov	x24, x0
	str	x24, [sp]
Lloh77:
	adrp	x1, l_.str.3@PAGE
Lloh78:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	ldr	x25, [sp, #88]                  ; 8-byte Folded Reload
LBB0_43:
	mov	x0, x23
	bl	_led_classdev_unregister
	b	LBB0_23
LBB0_44:
	mov	x0, x21
	mov	x1, x19
	bl	_usb_set_intfdata
Lloh79:
	adrp	x8, _NUM_URBS@GOTPAGE
Lloh80:
	ldr	x8, [x8, _NUM_URBS@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_48
; %bb.45:
	mov	x20, #0
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x20, lsl #3]
Lloh82:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh83:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	mov	x24, x0
	cbnz	w0, LBB0_49
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	add	x20, x20, #1
Lloh85:
	adrp	x8, _NUM_URBS@GOTPAGE
Lloh86:
	ldr	x8, [x8, _NUM_URBS@GOTPAGEOFF]
Lloh87:
	ldrsw	x8, [x8]
	cmp	x20, x8
	b.lt	LBB0_46
	b	LBB0_30
LBB0_48:
	mov	w24, #0
	b	LBB0_30
LBB0_49:
	ldr	x0, [x19, #72]
	str	x24, [sp]
Lloh88:
	adrp	x1, l_.str.4@PAGE
Lloh89:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_rc_unregister_device
	mov	x25, #0
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_43
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdr	Lloh29, Lloh30
	.loh AdrpAdrp	Lloh27, Lloh29
	.loh AdrpLdr	Lloh27, Lloh28
	.loh AdrpAdrp	Lloh25, Lloh27
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdrp	Lloh21, Lloh23
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdrp	Lloh46, Lloh48
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdr	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RC_DRIVER_IR_RAW,4,2           ; @RC_DRIVER_IR_RAW
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot find expected altsetting\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NUM_URBS,4,2                   ; @NUM_URBS
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
	.comm	_URB_ISO_ASAP,4,2               ; @URB_ISO_ASAP
	.comm	_ttusbir_urb_complete,4,2       ; @ttusbir_urb_complete
	.comm	_ttusbir_bulk_complete,4,2      ; @ttusbir_bulk_complete
l_.str.1:                               ; @.str.1
	.asciz	"ttusbir:green:power"

l_.str.2:                               ; @.str.2
	.asciz	"rc-feedback"

	.comm	_ttusbir_brightness_set,4,2     ; @ttusbir_brightness_set
	.comm	_ttusbir_brightness_get,4,2     ; @ttusbir_brightness_get
	.comm	_DRIVER_DESC,4,2                ; @DRIVER_DESC
	.comm	_RC_PROTO_BIT_ALL_IR_DECODER,4,2 ; @RC_PROTO_BIT_ALL_IR_DECODER
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.comm	_RC_MAP_TT_1500,4,2             ; @RC_MAP_TT_1500
	.comm	_IR_DEFAULT_TIMEOUT,4,2         ; @IR_DEFAULT_TIMEOUT
	.comm	_NS_PER_BIT,4,2                 ; @NS_PER_BIT
l_.str.3:                               ; @.str.3
	.asciz	"failed to register rc device %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to submit urb %d\n"

	.no_dead_strip	_ttusbir_probe
.subsections_via_symbols
