	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_me_probe
_mei_me_probe:                          ## @mei_me_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
	movl	(%rsi), %edi
	callq	_mei_me_get_cfg
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_mei_me_quirk_probe
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	callq	_pcim_enable_device
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_30
LBB0_6:
	movq	%r15, %rdi
	callq	_pci_set_master
	xorl	%edi, %edi
	callq	_BIT
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_29:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_30:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dma_set_coherent_mask
	testl	%eax, %eax
	je	LBB0_13
LBB0_10:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dma_set_coherent_mask
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_13:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mei_me_dev_init
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_to_me_hw
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_pcim_iomap_table
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	%r15, %rdi
	callq	_pci_enable_msi
	movq	%r15, %rdi
	callq	_pci_dev_msi_enabled
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_29
LBB0_16:
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %ecx
	movl	4(%r15), %edi
	movq	_mei_me_irq_quick_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mei_me_irq_thread_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %r8d
	movq	%r14, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	movl	4(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_29
LBB0_20:
	movq	%r14, %rdi
	callq	_mei_start
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_22:
	movq	_MEI_ME_RPM_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r15, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mei_register
	testl	%eax, %eax
	je	LBB0_23
## %bb.27:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mei_stop
LBB0_28:
	movq	%r14, %rdi
	callq	_mei_cancel_work
	movq	%r14, %rdi
	callq	_mei_disable_interrupts
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_free_irq
	jmp	LBB0_29
LBB0_23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pci_set_drvdata
	movq	_DPM_FLAG_NEVER_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dev_pm_set_driver_flags
	movq	%r14, %rdi
	callq	_mei_me_set_pm_domain
	movq	%r14, %rdi
	callq	_mei_pg_is_enabled
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movq	%r15, %rdi
	callq	_pm_runtime_put_noidle
	cmpq	$0, (%r12)
	je	LBB0_26
## %bb.25:
	movq	%r15, %rdi
	callq	_pm_runtime_allow
LBB0_26:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to enable pci device.\n"

	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
L_.str.1:                               ## @.str.1
	.asciz	"failed to get pci regions.\n"

L_.str.2:                               ## @.str.2
	.asciz	"No usable DMA configuration, aborting\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_mei_me_irq_quick_handler,4,2   ## @mei_me_irq_quick_handler
	.comm	_mei_me_irq_thread_handler,4,2  ## @mei_me_irq_thread_handler
L_.str.3:                               ## @.str.3
	.asciz	"request_threaded_irq failure. irq = %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"init hw failure.\n"

	.comm	_MEI_ME_RPM_TIMEOUT,4,2         ## @MEI_ME_RPM_TIMEOUT
	.comm	_DPM_FLAG_NEVER_SKIP,4,2        ## @DPM_FLAG_NEVER_SKIP
L_.str.5:                               ## @.str.5
	.asciz	"initialization successful.\n"

L_.str.6:                               ## @.str.6
	.asciz	"initialization failed.\n"

	.no_dead_strip	_mei_me_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_me_probe
_mei_me_probe:                          ; @mei_me_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	x19, x0
	ldr	w0, [x1]
	bl	_mei_me_get_cfg
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mei_me_quirk_probe
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_pcim_enable_device
	cbz	w0, LBB0_5
; %bb.3:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_pci_set_master
	mov	w0, #0
	bl	_BIT
	mov	x1, x0
Lloh5:
	adrp	x23, _KBUILD_MODNAME@GOTPAGE
Lloh6:
	ldr	x23, [x23, _KBUILD_MODNAME@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_pcim_iomap_regions
	cbz	w0, LBB0_10
; %bb.6:
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_dev_err
LBB0_8:
Lloh9:
	adrp	x1, l_.str.6@PAGE
Lloh10:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_9:
	mov	x0, x21
	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_10:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_mask
	cbnz	w0, LBB0_12
; %bb.11:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_coherent_mask
	cbz	w0, LBB0_15
LBB0_12:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_mask
	cbz	w0, LBB0_15
; %bb.13:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_coherent_mask
	cbz	w0, LBB0_15
; %bb.14:
	mov	x21, x0
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_mei_me_dev_init
	cbz	x0, LBB0_18
; %bb.16:
	mov	x20, x0
	bl	_to_me_hw
	mov	x22, x0
	mov	x0, x19
	bl	_pcim_iomap_table
	ldr	w8, [x0]
	str	w8, [x22, #8]
	mov	x0, x19
	bl	_pci_enable_msi
	mov	x0, x19
	bl	_pci_dev_msi_enabled
Lloh13:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh15:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
Lloh17:
	adrp	x8, _mei_me_irq_quick_handler@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mei_me_irq_quick_handler@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _mei_me_irq_thread_handler@GOTPAGE
Lloh21:
	ldr	x8, [x8, _mei_me_irq_thread_handler@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	ldr	w4, [x23]
	mov	x5, x20
	bl	_request_threaded_irq
	cbz	w0, LBB0_19
; %bb.17:
	mov	x21, x0
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_18:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_19:
	mov	x0, x20
	bl	_mei_start
	cbz	x0, LBB0_21
; %bb.20:
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh30:
	adrp	x8, _ENODEV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_23
LBB0_21:
Lloh33:
	adrp	x8, _MEI_ME_RPM_TIMEOUT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MEI_ME_RPM_TIMEOUT@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	mov	x0, x20
	mov	x1, x19
	bl	_mei_register
	cbz	w0, LBB0_24
; %bb.22:
	mov	x21, x0
	mov	x0, x20
	bl	_mei_stop
LBB0_23:
	mov	x0, x20
	bl	_mei_cancel_work
	mov	x0, x20
	bl	_mei_disable_interrupts
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_free_irq
	b	LBB0_8
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
Lloh36:
	adrp	x8, _DPM_FLAG_NEVER_SKIP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DPM_FLAG_NEVER_SKIP@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dev_pm_set_driver_flags
	mov	x0, x20
	bl	_mei_me_set_pm_domain
	mov	x0, x20
	bl	_mei_pg_is_enabled
	cbz	x0, LBB0_27
; %bb.25:
	mov	x0, x19
	bl	_pm_runtime_put_noidle
	ldr	x8, [x22]
	cbz	x8, LBB0_27
; %bb.26:
	mov	x0, x19
	bl	_pm_runtime_allow
LBB0_27:
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	w21, #0
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to enable pci device.\n"

	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
l_.str.1:                               ; @.str.1
	.asciz	"failed to get pci regions.\n"

l_.str.2:                               ; @.str.2
	.asciz	"No usable DMA configuration, aborting\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_mei_me_irq_quick_handler,4,2   ; @mei_me_irq_quick_handler
	.comm	_mei_me_irq_thread_handler,4,2  ; @mei_me_irq_thread_handler
l_.str.3:                               ; @.str.3
	.asciz	"request_threaded_irq failure. irq = %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"init hw failure.\n"

	.comm	_MEI_ME_RPM_TIMEOUT,4,2         ; @MEI_ME_RPM_TIMEOUT
	.comm	_DPM_FLAG_NEVER_SKIP,4,2        ; @DPM_FLAG_NEVER_SKIP
l_.str.5:                               ; @.str.5
	.asciz	"initialization successful.\n"

l_.str.6:                               ; @.str.6
	.asciz	"initialization failed.\n"

	.no_dead_strip	_mei_me_probe
.subsections_via_symbols
