	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipc_probe
_ipc_probe:                             ## @ipc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ipcdev@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	%rdi, %r15
	movl	8(%rbx), %eax
	movl	%eax, 20(%r14)
	callq	_pcim_enable_device
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movq	%r15, %rdi
	callq	_pci_name
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	leaq	16(%r14), %rdi
	callq	_init_completion
	movq	%r15, %rdi
	callq	_pcim_iomap_table
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_ioremap_nocache
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	4(%r15), %esi
	movq	_ioc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %r8
	movq	_ipcdev@GOTPCREL(%rip), %r14
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	%r15, (%r14)
	xorl	%eax, %eax
	callq	_intel_scu_devices_create
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pci_set_drvdata
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ipcdev,24,3                    ## @ipcdev
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ioc,4,2                        ## @ioc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intel_scu_ipc"

	.no_dead_strip	_ipc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipc_probe
_ipc_probe:                             ; @ipc_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _ipcdev@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ipcdev@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x21, [x1]
	cbz	x21, LBB0_10
; %bb.5:
	mov	x19, x0
	ldr	w8, [x21, #8]
	str	w8, [x20, #20]
	bl	_pcim_enable_device
	cbnz	w0, LBB0_3
; %bb.6:
	mov	x0, x19
	bl	_pci_name
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	bl	_pcim_iomap_regions
	cbnz	w0, LBB0_3
; %bb.7:
	add	x0, x20, #16
	bl	_init_completion
	mov	x0, x19
	bl	_pcim_iomap_table
	ldr	w8, [x0]
	str	w8, [x20, #12]
	ldp	w1, w0, [x21]
	bl	_ioremap_nocache
	str	w0, [x20, #8]
	cbz	w0, LBB0_11
; %bb.8:
	ldr	w1, [x19, #4]
Lloh4:
	adrp	x8, _ioc@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ioc@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x4, l_.str@PAGE
Lloh8:
	add	x4, x4, l_.str@PAGEOFF
Lloh9:
	adrp	x20, _ipcdev@GOTPAGE
Lloh10:
	ldr	x20, [x20, _ipcdev@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbnz	w0, LBB0_3
; %bb.9:
	str	x19, [x20]
	bl	_intel_scu_devices_create
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
	mov	w0, #0
	b	LBB0_3
LBB0_10:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ipcdev,24,3                    ; @ipcdev
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ioc,4,2                        ; @ioc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intel_scu_ipc"

	.no_dead_strip	_ipc_probe
.subsections_via_symbols
