	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxb_probe
_mxb_probe:                             ## @mxb_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
	leaq	12(%rdi), %r14
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_mxb_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	12(%r15), %ebx
	testl	%ebx, %ebx
	jne	LBB0_15
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r12
	movl	(%rax), %edi
	movq	_mxb_num@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_SAA7146_I2C_BUS_BIT_RATE_480@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_saa7146_i2c_adapter_prepare
	movq	%r12, %rdi
	callq	_i2c_add_adapter
	testq	%rax, %rax
	js	LBB0_12
## %bb.3:
	leaq	8(%r15), %r13
	movq	_I2C_SAA7111A@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 16(%r12)
	movq	_I2C_TEA6420_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 48(%r12)
	movq	_I2C_TEA6420_2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%r8d, %r8d
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 40(%r12)
	movq	_I2C_TEA6415C@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 32(%r12)
	movq	_I2C_TDA9840@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 24(%r12)
	movq	_I2C_TUNER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_i2c_new_subdev
	movq	%rax, 8(%r12)
	cmpq	$0, 48(%r12)
	je	LBB0_11
## %bb.4:
	cmpq	$0, 40(%r12)
	je	LBB0_11
## %bb.5:
	cmpq	$0, 32(%r12)
	je	LBB0_11
## %bb.6:
	cmpq	$0, 24(%r12)
	je	LBB0_11
## %bb.7:
	cmpq	$0, 16(%r12)
	je	LBB0_11
## %bb.8:
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%r12, (%r15)
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_setup
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_DEB_D
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.8(%rip), %rdi
	callq	_pr_err
	movq	%r12, %rdi
	callq	_i2c_del_adapter
	movq	%r12, %rdi
	callq	_kfree
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	callq	_DEB_S
	movq	%r12, %rdi
	callq	_kfree
	movq	_EFAULT@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mxb_ctrl_ops,4,2               ## @mxb_ctrl_ops
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ## @V4L2_CID_AUDIO_MUTE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not enough kernel memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"mxb%d"

	.comm	_mxb_num,4,2                    ## @mxb_num
	.comm	_SAA7146_I2C_BUS_BIT_RATE_480,4,2 ## @SAA7146_I2C_BUS_BIT_RATE_480
L_.str.2:                               ## @.str.2
	.asciz	"cannot register i2c-device. skipping.\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
L_.str.3:                               ## @.str.3
	.asciz	"saa7111"

	.comm	_I2C_SAA7111A,4,2               ## @I2C_SAA7111A
L_.str.4:                               ## @.str.4
	.asciz	"tea6420"

	.comm	_I2C_TEA6420_1,4,2              ## @I2C_TEA6420_1
	.comm	_I2C_TEA6420_2,4,2              ## @I2C_TEA6420_2
L_.str.5:                               ## @.str.5
	.asciz	"tea6415c"

	.comm	_I2C_TEA6415C,4,2               ## @I2C_TEA6415C
L_.str.6:                               ## @.str.6
	.asciz	"tda9840"

	.comm	_I2C_TDA9840,4,2                ## @I2C_TDA9840
L_.str.7:                               ## @.str.7
	.asciz	"tuner"

	.comm	_I2C_TUNER,4,2                  ## @I2C_TUNER
L_.str.8:                               ## @.str.8
	.asciz	"did not find all i2c devices. aborting\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_mxb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxb_probe
_mxb_probe:                             ; @mxb_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	add	x19, x0, #12
Lloh0:
	adrp	x8, _V4L2_CID_AUDIO_MUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_AUDIO_MUTE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, _mxb_ctrl_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _mxb_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	ldr	w0, [x20, #12]
	cbnz	w0, LBB0_14
; %bb.1:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.2:
	mov	x21, x0
	ldr	w0, [x0]
Lloh8:
	adrp	x8, _mxb_num@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mxb_num@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_snprintf
Lloh13:
	adrp	x8, _SAA7146_I2C_BUS_BIT_RATE_480@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SAA7146_I2C_BUS_BIT_RATE_480@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_saa7146_i2c_adapter_prepare
	mov	x0, x21
	bl	_i2c_add_adapter
	tbnz	x0, #63, LBB0_12
; %bb.3:
	add	x22, x20, #8
Lloh16:
	adrp	x8, _I2C_SAA7111A@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I2C_SAA7111A@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x2, l_.str.3@PAGE
Lloh20:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x4, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x21, #16]
Lloh21:
	adrp	x8, _I2C_TEA6420_1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I2C_TEA6420_1@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
Lloh24:
	adrp	x23, l_.str.4@PAGE
Lloh25:
	add	x23, x23, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x4, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x21, #48]
Lloh26:
	adrp	x8, _I2C_TEA6420_2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _I2C_TEA6420_2@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x4, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x21, #40]
Lloh29:
	adrp	x8, _I2C_TEA6415C@GOTPAGE
Lloh30:
	ldr	x8, [x8, _I2C_TEA6415C@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x2, l_.str.5@PAGE
Lloh33:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x4, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x21, #32]
Lloh34:
	adrp	x8, _I2C_TDA9840@GOTPAGE
Lloh35:
	ldr	x8, [x8, _I2C_TDA9840@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
Lloh37:
	adrp	x2, l_.str.6@PAGE
Lloh38:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x4, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x21, #24]
Lloh39:
	adrp	x8, _I2C_TUNER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _I2C_TUNER@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
Lloh42:
	adrp	x2, l_.str.7@PAGE
Lloh43:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x4, #0
	bl	_v4l2_i2c_new_subdev
	str	x0, [x21, #8]
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_11
; %bb.4:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_11
; %bb.5:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_11
; %bb.6:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_11
; %bb.7:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_11
; %bb.8:
	cbz	x0, LBB0_11
; %bb.9:
	str	x21, [x20]
	mov	x0, x19
	bl	_v4l2_ctrl_handler_setup
	mov	w0, #0
	b	LBB0_14
LBB0_10:
Lloh44:
	adrp	x0, l_.str@PAGE
Lloh45:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEB_D
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh48:
	adrp	x0, l_.str.8@PAGE
Lloh49:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_err
	mov	x0, x21
	bl	_i2c_del_adapter
	mov	x0, x21
	bl	_kfree
Lloh50:
	adrp	x8, _ENODEV@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh52:
	adrp	x0, l_.str.2@PAGE
Lloh53:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DEB_S
	mov	x0, x21
	bl	_kfree
Lloh54:
	adrp	x8, _EFAULT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_mxb_ctrl_ops,4,2               ; @mxb_ctrl_ops
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ; @V4L2_CID_AUDIO_MUTE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not enough kernel memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"mxb%d"

	.comm	_mxb_num,4,2                    ; @mxb_num
	.comm	_SAA7146_I2C_BUS_BIT_RATE_480,4,2 ; @SAA7146_I2C_BUS_BIT_RATE_480
l_.str.2:                               ; @.str.2
	.asciz	"cannot register i2c-device. skipping.\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
l_.str.3:                               ; @.str.3
	.asciz	"saa7111"

	.comm	_I2C_SAA7111A,4,2               ; @I2C_SAA7111A
l_.str.4:                               ; @.str.4
	.asciz	"tea6420"

	.comm	_I2C_TEA6420_1,4,2              ; @I2C_TEA6420_1
	.comm	_I2C_TEA6420_2,4,2              ; @I2C_TEA6420_2
l_.str.5:                               ; @.str.5
	.asciz	"tea6415c"

	.comm	_I2C_TEA6415C,4,2               ; @I2C_TEA6415C
l_.str.6:                               ; @.str.6
	.asciz	"tda9840"

	.comm	_I2C_TDA9840,4,2                ; @I2C_TDA9840
l_.str.7:                               ; @.str.7
	.asciz	"tuner"

	.comm	_I2C_TUNER,4,2                  ; @I2C_TUNER
l_.str.8:                               ; @.str.8
	.asciz	"did not find all i2c devices. aborting\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_mxb_probe
.subsections_via_symbols
