	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_ir_init                ## -- Begin function cx23885_ir_init
	.p2align	4, 0x90
_cx23885_ir_init:                       ## @cx23885_ir_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	_cx23885_ir_init.ir_rxtx_pin_cfg(%rip), %rdi
	callq	_ARRAY_SIZE
	movq	%rax, %r15
	leaq	_cx23885_ir_init.ir_rx_pin_cfg(%rip), %rdi
	callq	_ARRAY_SIZE
	movq	%rax, %r12
	xorl	%r14d, %r14d
	movl	$-135, %eax
	addl	(%rbx), %eax
	cmpl	$13, %eax
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_cx23888_ir_probe
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.3:
	movq	_CX23885_HW_888_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx23885_find_hw
	movq	%rax, 8(%rbx)
	movl	4(%rbx), %edi
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_io_pin_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	_cx23885_ir_init.ir_rxtx_pin_cfg(%rip), %r8
	xorl	%r14d, %r14d
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	movl	8(%rbx), %edi
	movq	_ir@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_tx_g_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %r15
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	movq	$0, -56(%rbp)
	movl	$1, -48(%rbp)
	movl	8(%rbx), %edi
	movl	(%r12), %esi
	movq	_tx_s_parameters@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	movl	$1, -52(%rbp)
	movl	8(%rbx), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	jmp	LBB0_13
LBB0_4:
	movq	_enable_885_ir@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.5:
	movq	_CX23885_HW_AV_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx23885_find_hw
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	4(%rbx), %edi
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_io_pin_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	_cx23885_ir_init.ir_rx_pin_cfg(%rip), %r8
	xorl	%r14d, %r14d
	movq	%r12, %rcx
	jmp	LBB0_8
LBB0_9:
	movq	_enable_885_ir@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.10:
	movq	_CX23885_HW_AV_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx23885_find_hw
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	movl	4(%rbx), %edi
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_io_pin_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	_cx23885_ir_init.ir_rxtx_pin_cfg(%rip), %r8
	xorl	%r14d, %r14d
	movq	%r15, %rcx
LBB0_8:
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str(%rip), %rdi
	callq	_request_module
	jmp	LBB0_13
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @cx23885_ir_init.ir_rxtx_pin_cfg
_cx23885_ir_init.ir_rxtx_pin_cfg:
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	134                             ## 0x86
	.long	132                             ## 0x84
	.long	129                             ## 0x81
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	131                             ## 0x83
	.long	128                             ## 0x80

	.p2align	4                               ## @cx23885_ir_init.ir_rx_pin_cfg
_cx23885_ir_init.ir_rx_pin_cfg:
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	134                             ## 0x86
	.long	132                             ## 0x84
	.long	129                             ## 0x81

	.comm	_CX23885_HW_888_IR,4,2          ## @CX23885_HW_888_IR
	.comm	_core,4,2                       ## @core
	.comm	_s_io_pin_config,4,2            ## @s_io_pin_config
	.comm	_ir,4,2                         ## @ir
	.comm	_tx_g_parameters,4,2            ## @tx_g_parameters
	.comm	_tx_s_parameters,4,2            ## @tx_s_parameters
	.comm	_enable_885_ir,4,2              ## @enable_885_ir
	.comm	_CX23885_HW_AV_CORE,4,2         ## @CX23885_HW_AV_CORE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ir-kbd-i2c"

.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 cx23885_ir_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cx23885_ir_init
	.p2align	2
_cx23885_ir_init:                       ; @cx23885_ir_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _cx23885_ir_init.ir_rxtx_pin_cfg@PAGE
Lloh1:
	add	x20, x20, _cx23885_ir_init.ir_rxtx_pin_cfg@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x21, x0
Lloh2:
	adrp	x22, _cx23885_ir_init.ir_rx_pin_cfg@PAGE
Lloh3:
	add	x22, x22, _cx23885_ir_init.ir_rx_pin_cfg@PAGEOFF
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x23, x0
	mov	w0, #0
	ldr	w8, [x19]
	sub	w8, w8, #135
	cmp	w8, #13
	b.hi	LBB0_13
; %bb.1:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_cx23888_ir_probe
	cbnz	w0, LBB0_13
; %bb.3:
Lloh6:
	adrp	x8, _CX23885_HW_888_IR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CX23885_HW_888_IR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cx23885_find_hw
	str	x0, [x19, #8]
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _core@GOTPAGE
Lloh10:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _s_io_pin_config@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_io_pin_config@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	stp	x21, x20, [sp]
	bl	_v4l2_subdev_call
	ldr	w0, [x19, #8]
Lloh15:
	adrp	x20, _ir@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ir@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh17:
	adrp	x8, _tx_g_parameters@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tx_g_parameters@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x21, sp, #16
	str	x21, [sp]
	bl	_v4l2_subdev_call
	str	wzr, [sp, #16]
Lloh20:
	adrp	x8, lCPI0_0@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #20]
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
Lloh22:
	adrp	x22, _tx_s_parameters@GOTPAGE
Lloh23:
	ldr	x22, [x22, _tx_s_parameters@GOTPAGEOFF]
	ldr	w2, [x22]
	str	x21, [sp]
	bl	_v4l2_subdev_call
	mov	w8, #1
	str	w8, [sp, #20]
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
	ldr	w2, [x22]
	b	LBB0_10
LBB0_4:
Lloh24:
	adrp	x8, _enable_885_ir@GOTPAGE
Lloh25:
	ldr	x8, [x8, _enable_885_ir@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.5:
Lloh27:
	adrp	x8, _CX23885_HW_AV_CORE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CX23885_HW_AV_CORE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cx23885_find_hw
	str	x0, [x19, #8]
	cbz	x0, LBB0_14
; %bb.6:
	ldr	w0, [x19, #4]
Lloh30:
	adrp	x8, _core@GOTPAGE
Lloh31:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _s_io_pin_config@GOTPAGE
Lloh34:
	ldr	x8, [x8, _s_io_pin_config@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	stp	x23, x22, [sp]
	bl	_v4l2_subdev_call
	b	LBB0_12
LBB0_7:
Lloh36:
	adrp	x8, _enable_885_ir@GOTPAGE
Lloh37:
	ldr	x8, [x8, _enable_885_ir@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.8:
Lloh39:
	adrp	x8, _CX23885_HW_AV_CORE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CX23885_HW_AV_CORE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cx23885_find_hw
	str	x0, [x19, #8]
	cbz	x0, LBB0_14
; %bb.9:
	ldr	w0, [x19, #4]
Lloh42:
	adrp	x8, _core@GOTPAGE
Lloh43:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x8, _s_io_pin_config@GOTPAGE
Lloh46:
	ldr	x8, [x8, _s_io_pin_config@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	str	x20, [sp, #8]
LBB0_10:
	str	x21, [sp]
	bl	_v4l2_subdev_call
	b	LBB0_12
LBB0_11:
Lloh48:
	adrp	x0, l_.str@PAGE
Lloh49:
	add	x0, x0, l_.str@PAGEOFF
	bl	_request_module
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
Lloh50:
	adrp	x8, _ENODEV@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @cx23885_ir_init.ir_rxtx_pin_cfg
_cx23885_ir_init.ir_rxtx_pin_cfg:
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	134                             ; 0x86
	.long	132                             ; 0x84
	.long	129                             ; 0x81
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	131                             ; 0x83
	.long	128                             ; 0x80

	.p2align	2                               ; @cx23885_ir_init.ir_rx_pin_cfg
_cx23885_ir_init.ir_rx_pin_cfg:
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	134                             ; 0x86
	.long	132                             ; 0x84
	.long	129                             ; 0x81

	.comm	_CX23885_HW_888_IR,4,2          ; @CX23885_HW_888_IR
	.comm	_core,4,2                       ; @core
	.comm	_s_io_pin_config,4,2            ; @s_io_pin_config
	.comm	_ir,4,2                         ; @ir
	.comm	_tx_g_parameters,4,2            ; @tx_g_parameters
	.comm	_tx_s_parameters,4,2            ; @tx_s_parameters
	.comm	_enable_885_ir,4,2              ; @enable_885_ir
	.comm	_CX23885_HW_AV_CORE,4,2         ; @CX23885_HW_AV_CORE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ir-kbd-i2c"

.subsections_via_symbols
