	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23888_ir_probe               ## -- Begin function cx23888_ir_probe
	.p2align	4, 0x90
_cx23888_ir_probe:                      ## @cx23888_ir_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	leaq	48(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_init
	movq	_CX23888_IR_RX_KFIFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	%rbx, %rdx
	callq	_kfifo_alloc
	movl	%eax, (%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_3
## %bb.7:
	movl	(%r13), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IS_ERR                         ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_3:
	movq	%r15, 40(%r13)
	movq	_V4L2_IDENT_CX23888_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movq	$0, 24(%r13)
	leaq	12(%r13), %r14
	movq	_cx23888_ir_controller_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_v4l2_subdev_init
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_v4l2_set_subdevdata
	movl	16(%r13), %edi
	movq	(%r15), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_CX23885_HW_888_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	leaq	8(%r15), %rdi
	movq	%r14, %rsi
	callq	_v4l2_device_register_subdev
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_kfifo_free
	jmp	LBB0_6
LBB0_4:
	movq	_CX23888_IR_IRQEN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_cx23888_ir_write4
	leaq	8(%r13), %rdi
	callq	_mutex_init
	movq	_default_rx_params@GOTPCREL(%rip), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_ir@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_rx_s_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_v4l2_subdev_call
	addq	$4, %r13
	movq	%r13, %rdi
	callq	_mutex_init
	movq	_default_tx_params@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	(%rbx), %esi
	movq	_tx_s_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_v4l2_subdev_call
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CX23888_IR_RX_KFIFO_SIZE,4,2   ## @CX23888_IR_RX_KFIFO_SIZE
	.comm	_V4L2_IDENT_CX23888_IR,4,2      ## @V4L2_IDENT_CX23888_IR
	.comm	_cx23888_ir_controller_ops,4,2  ## @cx23888_ir_controller_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/888-ir"

	.comm	_CX23885_HW_888_IR,4,2          ## @CX23885_HW_888_IR
	.comm	_CX23888_IR_IRQEN_REG,4,2       ## @CX23888_IR_IRQEN_REG
	.comm	_default_rx_params,4,2          ## @default_rx_params
	.comm	_ir,4,2                         ## @ir
	.comm	_rx_s_parameters,4,2            ## @rx_s_parameters
	.comm	_default_tx_params,4,2          ## @default_tx_params
	.comm	_tx_s_parameters,4,2            ## @tx_s_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23888_ir_probe               ; -- Begin function cx23888_ir_probe
	.p2align	2
_cx23888_ir_probe:                      ; @cx23888_ir_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x20, x0, #48
	mov	x0, x20
	bl	_spin_lock_init
Lloh2:
	adrp	x8, _CX23888_IR_RX_KFIFO_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CX23888_IR_RX_KFIFO_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x22]
	mov	x2, x20
	bl	_kfifo_alloc
	str	w0, [x19]
	bl	_IS_ERR
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_IS_ERR
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_7
LBB0_4:
	str	x21, [x19, #40]
Lloh8:
	adrp	x8, _V4L2_IDENT_CX23888_IR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_IDENT_CX23888_IR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
	add	x20, x19, #12
Lloh11:
	adrp	x1, _cx23888_ir_controller_ops@GOTPAGE
Lloh12:
	ldr	x1, [x1, _cx23888_ir_controller_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_v4l2_subdev_init
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_set_subdevdata
	ldr	w0, [x19, #16]
	mov	x22, x21
	ldr	x3, [x22], #8
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
Lloh15:
	adrp	x8, _CX23885_HW_888_IR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CX23885_HW_888_IR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	mov	x0, x22
	mov	x1, x20
	bl	_v4l2_device_register_subdev
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	bl	_kfifo_free
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _CX23888_IR_IRQEN_REG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CX23888_IR_IRQEN_REG@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_cx23888_ir_write4
	add	x0, x19, #8
	bl	_mutex_init
Lloh21:
	adrp	x1, _default_rx_params@GOTPAGE
Lloh22:
	ldr	x1, [x1, _default_rx_params@GOTPAGEOFF]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
Lloh23:
	adrp	x21, _ir@GOTPAGE
Lloh24:
	ldr	x21, [x21, _ir@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh25:
	adrp	x8, _rx_s_parameters@GOTPAGE
Lloh26:
	ldr	x8, [x8, _rx_s_parameters@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_v4l2_subdev_call
	add	x0, x19, #4
	bl	_mutex_init
Lloh28:
	adrp	x1, _default_tx_params@GOTPAGE
Lloh29:
	ldr	x1, [x1, _default_tx_params@GOTPAGEOFF]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	w1, [x21]
Lloh30:
	adrp	x8, _tx_s_parameters@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tx_s_parameters@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_v4l2_subdev_call
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CX23888_IR_RX_KFIFO_SIZE,4,2   ; @CX23888_IR_RX_KFIFO_SIZE
	.comm	_V4L2_IDENT_CX23888_IR,4,2      ; @V4L2_IDENT_CX23888_IR
	.comm	_cx23888_ir_controller_ops,4,2  ; @cx23888_ir_controller_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/888-ir"

	.comm	_CX23885_HW_888_IR,4,2          ; @CX23885_HW_888_IR
	.comm	_CX23888_IR_IRQEN_REG,4,2       ; @CX23888_IR_IRQEN_REG
	.comm	_default_rx_params,4,2          ; @default_rx_params
	.comm	_ir,4,2                         ; @ir
	.comm	_rx_s_parameters,4,2            ; @rx_s_parameters
	.comm	_default_tx_params,4,2          ; @default_tx_params
	.comm	_tx_s_parameters,4,2            ; @tx_s_parameters
.subsections_via_symbols
