	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poseidon_probe
_poseidon_probe:                        ## @poseidon_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
	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
	callq	_interface_to_usbdev
	movq	%rax, %r15
	movl	$0, -44(%rbp)
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	callq	_check_firmware
	xorl	%r14d, %r14d
	cmpl	$0, -44(%rbp)
	jne	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	callq	_find_old_poseidon
	movq	%rax, %r13
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	addq	$32, %rdi
	callq	_kref_init
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_set_map_flags
LBB0_5:
	movq	%r15, %rdi
	callq	_usb_get_dev
	movq	%rax, 8(%r12)
	movq	%rbx, %rdi
	callq	_usb_get_intf
	movl	%eax, 28(%r12)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_usb_set_intfdata
	testq	%r13, %r13
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_logpm
	leaq	24(%r12), %rdi
	callq	_mutex_init
	leaq	20(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	20(%r12), %r13d
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rdx
	movl	%r13d, %edi
	movl	$4, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %r8
	callq	_snprintf
	xorl	%edi, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_v4l2_device_register
	movl	%eax, -44(%rbp)
	movq	%r12, %rdi
	callq	_pd_video_init
	movl	%eax, -44(%rbp)
	movq	%r12, %rdi
	callq	_poseidon_audio_init
	movq	%r12, %rdi
	callq	_poseidon_fm_init
	movq	%r12, %rdi
	callq	_pd_dvb_usb_device_init
	addq	$16, %r12
	movq	%r12, %rdi
	callq	_INIT_LIST_HEAD
	movq	_pd_device_list@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_list_add_tail
LBB0_7:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s"

	.comm	_pd_device_list,4,2             ## @pd_device_list
	.comm	_HZ,4,2                         ## @HZ
	.comm	_PM_SUSPEND_DELAY,4,2           ## @PM_SUSPEND_DELAY
	.comm	_hibernation_resume,4,2         ## @hibernation_resume
	.no_dead_strip	_poseidon_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poseidon_probe
_poseidon_probe:                        ; @poseidon_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_interface_to_usbdev
	mov	x19, x0
	str	wzr, [sp, #12]
	add	x1, sp, #12
	bl	_check_firmware
	mov	w0, #0
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_find_old_poseidon
	mov	x22, x0
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	add	x0, x0, #32
	bl	_kref_init
	mov	x0, x20
	mov	x1, x19
	bl	_set_map_flags
LBB0_4:
	mov	x0, x19
	bl	_usb_get_dev
	str	x0, [x20, #8]
	mov	x0, x21
	bl	_usb_get_intf
	str	w0, [x20, #28]
	mov	x0, x21
	mov	x1, x20
	bl	_usb_set_intfdata
	cbnz	x22, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_logpm
	add	x0, x20, #24
	bl	_mutex_init
	mov	x22, x20
	ldr	w23, [x22, #20]!
	ldr	x8, [x21]
	ldr	x24, [x8]
	mov	x0, x21
	bl	_dev_name
	mov	x4, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	w1, #4
	mov	x3, x24
	bl	_snprintf
	mov	x0, #0
	mov	x1, x22
	bl	_v4l2_device_register
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_pd_video_init
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_poseidon_audio_init
	mov	x0, x20
	bl	_poseidon_fm_init
	mov	x0, x20
	bl	_pd_dvb_usb_device_init
	add	x20, x20, #16
	mov	x0, x20
	bl	_INIT_LIST_HEAD
Lloh5:
	adrp	x1, _pd_device_list@GOTPAGE
Lloh6:
	ldr	x1, [x1, _pd_device_list@GOTPAGEOFF]
	mov	x0, x20
	bl	_list_add_tail
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	bl	_device_init_wakeup
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s"

	.comm	_pd_device_list,4,2             ; @pd_device_list
	.comm	_HZ,4,2                         ; @HZ
	.comm	_PM_SUSPEND_DELAY,4,2           ; @PM_SUSPEND_DELAY
	.comm	_hibernation_resume,4,2         ; @hibernation_resume
	.no_dead_strip	_poseidon_probe
.subsections_via_symbols
