	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_txe_probe
_mei_txe_probe:                         ## @mei_txe_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	_SEC_BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r14d
	movq	_BRIDGE_BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_pcim_enable_device
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	orl	%r14d, %ebx
	movq	%r15, %rdi
	callq	_pci_set_master
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_18:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_19:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$36, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_8:
	movq	%r15, %rdi
	callq	_mei_txe_dev_init
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_to_txe_hw
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_pcim_iomap_table
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_pci_enable_msi
	movq	%r14, %rdi
	callq	_mei_clear_interrupts
	movq	%r15, %rdi
	callq	_pci_dev_msi_enabled
	xorl	%esi, %esi
	testq	%rax, %rax
	movl	4(%r15), %edi
	movq	_mei_txe_irq_quick_handler@GOTPCREL(%rip), %rax
	cmoveq	(%rax), %rsi
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	cmoveq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	_mei_txe_irq_thread_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movq	%r14, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r12d
	movl	4(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_18
LBB0_12:
	movq	%r14, %rdi
	callq	_mei_start
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_17
LBB0_14:
	movq	_MEI_TXI_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_15
## %bb.16:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_mei_stop
LBB0_17:
	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_18
LBB0_15:
	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_txe_set_pm_domain
	movq	%r15, %rdi
	callq	_pm_runtime_put_noidle
	xorl	%r12d, %r12d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_BAR,4,2                    ## @SEC_BAR
	.comm	_BRIDGE_BAR,4,2                 ## @BRIDGE_BAR
	.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 suitable DMA available.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mei_txe_irq_thread_handler,4,2 ## @mei_txe_irq_thread_handler
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_mei_txe_irq_quick_handler,8,3  ## @mei_txe_irq_quick_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.3:                               ## @.str.3
	.asciz	"mei: request_threaded_irq failure. irq = %d\n"

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

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MEI_TXI_RPM_TIMEOUT,4,2        ## @MEI_TXI_RPM_TIMEOUT
	.comm	_DPM_FLAG_NEVER_SKIP,4,2        ## @DPM_FLAG_NEVER_SKIP
L_.str.5:                               ## @.str.5
	.asciz	"initialization failed.\n"

	.no_dead_strip	_mei_txe_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_txe_probe
_mei_txe_probe:                         ; @mei_txe_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	x19, x0
Lloh0:
	adrp	x8, _SEC_BAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEC_BAR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
Lloh3:
	adrp	x8, _BRIDGE_BAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRIDGE_BAR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
	mov	x0, x19
	bl	_pcim_enable_device
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	orr	w20, w22, w20
	mov	x0, x19
	bl	_pci_set_master
Lloh8:
	adrp	x22, _KBUILD_MODNAME@GOTPAGE
Lloh9:
	ldr	x22, [x22, _KBUILD_MODNAME@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pcim_iomap_regions
	cbz	w0, LBB0_7
; %bb.3:
	mov	x21, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
LBB0_5:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_6:
	mov	x0, x21
	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
LBB0_7:
	mov	w0, #36
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_10
; %bb.8:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_10:
	mov	x0, x19
	bl	_mei_txe_dev_init
	cbz	x0, LBB0_13
; %bb.11:
	mov	x20, x0
	bl	_to_txe_hw
	mov	x21, x0
	mov	x0, x19
	bl	_pcim_iomap_table
	str	w0, [x21]
	mov	x0, x19
	bl	_pci_enable_msi
	mov	x0, x20
	bl	_mei_clear_interrupts
	mov	x0, x19
	bl	_pci_dev_msi_enabled
	ldr	w8, [x19, #4]
Lloh16:
	adrp	x9, _mei_txe_irq_quick_handler@GOTPAGE
Lloh17:
	ldr	x9, [x9, _mei_txe_irq_quick_handler@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x0, #0
	csel	x1, x9, xzr, eq
Lloh19:
	adrp	x9, _mei_txe_irq_thread_handler@GOTPAGE
Lloh20:
	ldr	x9, [x9, _mei_txe_irq_thread_handler@GOTPAGEOFF]
Lloh21:
	adrp	x10, _IRQF_SHARED@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IRQF_SHARED@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x9]
Lloh24:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w3, [x9]
	ldr	w4, [x22]
	mov	x0, x8
	mov	x5, x20
	bl	_request_threaded_irq
	cbz	w0, LBB0_14
; %bb.12:
	mov	x21, x0
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_13:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_14:
	mov	x0, x20
	bl	_mei_start
	cbz	x0, LBB0_16
; %bb.15:
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh33:
	adrp	x8, _ENODEV@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_18
LBB0_16:
Lloh36:
	adrp	x8, _MEI_TXI_RPM_TIMEOUT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MEI_TXI_RPM_TIMEOUT@GOTPAGEOFF]
Lloh38:
	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
	mov	x21, x0
	cbz	w0, LBB0_19
; %bb.17:
	mov	x0, x20
	bl	_mei_stop
LBB0_18:
	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_5
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
Lloh39:
	adrp	x8, _DPM_FLAG_NEVER_SKIP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DPM_FLAG_NEVER_SKIP@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dev_pm_set_driver_flags
	mov	x0, x20
	bl	_mei_txe_set_pm_domain
	mov	x0, x19
	bl	_pm_runtime_put_noidle
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_BAR,4,2                    ; @SEC_BAR
	.comm	_BRIDGE_BAR,4,2                 ; @BRIDGE_BAR
	.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 suitable DMA available.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mei_txe_irq_thread_handler,4,2 ; @mei_txe_irq_thread_handler
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_mei_txe_irq_quick_handler,8,3  ; @mei_txe_irq_quick_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.3:                               ; @.str.3
	.asciz	"mei: request_threaded_irq failure. irq = %d\n"

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

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MEI_TXI_RPM_TIMEOUT,4,2        ; @MEI_TXI_RPM_TIMEOUT
	.comm	_DPM_FLAG_NEVER_SKIP,4,2        ; @DPM_FLAG_NEVER_SKIP
l_.str.5:                               ; @.str.5
	.asciz	"initialization failed.\n"

	.no_dead_strip	_mei_txe_probe
.subsections_via_symbols
