	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_bttv_i2c_ir               ## -- Begin function init_bttv_i2c_ir
	.p2align	4, 0x90
_init_bttv_i2c_ir:                      ## @init_bttv_i2c_ir
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	-24(%rbp), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_strscpy
	cmpl	$129, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_get_key_pv951@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_RC_MAP_PV951@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	$75, -48(%rbp)
	jmp	LBB0_4
LBB0_3:
	cmpq	$0, (%r14)
	je	LBB0_5
LBB0_4:
	movq	%r14, -40(%rbp)
	addq	$12, %rbx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_i2c_new_device
	jmp	LBB0_6
LBB0_5:
	addq	$12, %rbx
	leaq	_init_bttv_i2c_ir.addr_list(%rip), %rdx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_i2c_new_probed_device
LBB0_6:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	1                               ## @init_bttv_i2c_ir.addr_list
_init_bttv_i2c_ir.addr_list:
	.short	26                              ## 0x1a
	.short	24                              ## 0x18
	.short	100                             ## 0x64
	.short	48                              ## 0x30
	.short	113                             ## 0x71
	.short	128                             ## 0x80

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ir_video"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"PV951"

	.comm	_get_key_pv951,4,2              ## @get_key_pv951
	.comm	_RC_MAP_PV951,4,2               ## @RC_MAP_PV951
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_bttv_i2c_ir               ; -- Begin function init_bttv_i2c_ir
	.p2align	2
_init_bttv_i2c_ir:                      ; @init_bttv_i2c_ir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbnz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x20, x19, #16
	mov	x0, x20
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w0, [sp, #40]
Lloh0:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strscpy
	ldr	w8, [x19, #8]
	cmp	w8, #129
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19, #16]
Lloh7:
	adrp	x8, _get_key_pv951@GOTPAGE
Lloh8:
	ldr	x8, [x8, _get_key_pv951@GOTPAGEOFF]
Lloh9:
	adrp	x9, _RC_MAP_PV951@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RC_MAP_PV951@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	mov	w8, #75
	str	w8, [sp, #16]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
LBB0_4:
	str	x20, [sp, #24]
	add	x0, x19, #12
	add	x1, sp, #8
	bl	_i2c_new_device
	b	LBB0_6
LBB0_5:
	add	x0, x19, #12
Lloh13:
	adrp	x2, _init_bttv_i2c_ir.addr_list@PAGE
Lloh14:
	add	x2, x2, _init_bttv_i2c_ir.addr_list@PAGEOFF
	add	x1, sp, #8
	mov	x3, #0
	bl	_i2c_new_probed_device
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	1                               ; @init_bttv_i2c_ir.addr_list
_init_bttv_i2c_ir.addr_list:
	.short	26                              ; 0x1a
	.short	24                              ; 0x18
	.short	100                             ; 0x64
	.short	48                              ; 0x30
	.short	113                             ; 0x71
	.short	128                             ; 0x80

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ir_video"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"PV951"

	.comm	_get_key_pv951,4,2              ; @get_key_pv951
	.comm	_RC_MAP_PV951,4,2               ; @RC_MAP_PV951
.subsections_via_symbols
