	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bttv_ir_start
_bttv_ir_start:                         ## @bttv_ir_start
	.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	%rsi, %rbx
	cmpq	$0, 32(%rsi)
	je	LBB0_1
## %bb.4:
	movq	%rdi, %rdx
	leaq	16(%rbx), %r14
	movq	_bttv_input_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_setup_timer
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	addq	%r15, %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
LBB0_1:
	cmpq	$0, 24(%rbx)
	je	LBB0_3
## %bb.2:
	leaq	16(%rbx), %rdi
	movq	_bttv_rc5_timer_end@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_setup_timer
	movabsq	$12884901889, %rax              ## imm = 0x300000001
	movq	%rax, (%rbx)
	movl	$0, 8(%rbx)
	movq	_ir_rc5_remote_gap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bttv_input_timer,4,2           ## @bttv_input_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_bttv_rc5_timer_end,4,2         ## @bttv_rc5_timer_end
	.comm	_ir_rc5_remote_gap,4,2          ## @ir_rc5_remote_gap
	.no_dead_strip	_bttv_ir_start
.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 bttv_ir_start
lCPI0_0:
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bttv_ir_start:                         ; @bttv_ir_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x1, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x2, x0
	add	x20, x19, #16
Lloh0:
	adrp	x8, _bttv_input_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bttv_input_timer@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_setup_timer
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	mov	w0, #1000
	bl	_msecs_to_jiffies
	add	x8, x0, x21
	str	x8, [x19, #16]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_add_timer
LBB0_2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, x19, #16
Lloh6:
	adrp	x8, _bttv_rc5_timer_end@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bttv_rc5_timer_end@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
Lloh11:
	adrp	x8, _ir_rc5_remote_gap@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ir_rc5_remote_gap@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	wzr, w8, [x19, #8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdrp	Lloh9, Lloh11
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bttv_input_timer,4,2           ; @bttv_input_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_bttv_rc5_timer_end,4,2         ; @bttv_rc5_timer_end
	.comm	_ir_rc5_remote_gap,4,2          ; @ir_rc5_remote_gap
	.no_dead_strip	_bttv_ir_start
.subsections_via_symbols
