	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_punit_ipc_probe
_intel_punit_ipc_probe:                 ## @intel_punit_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	%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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	movq	_punit_ipcdev@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq_optional
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	movq	_intel_punit_ioc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_NO_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	_punit_ipcdev@GOTPCREL(%rip), %r12
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_dev_err
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
	jmp	LBB0_7
LBB0_6:
	movq	(%r12), %rax
	movl	%r14d, (%rax)
LBB0_7:
	movq	%r15, %rdi
	callq	_intel_punit_get_bars
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	(%r13), %rdi
	movq	%r15, 16(%rdi)
	addq	$8, %rdi
	callq	_mutex_init
	movq	(%r13), %rdi
	addq	$4, %rdi
	callq	_init_completion
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_punit_ipcdev,8,3               ## @punit_ipcdev
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid IRQ, using polling mode\n"

	.comm	_intel_punit_ioc,4,2            ## @intel_punit_ioc
	.comm	_IRQF_NO_SUSPEND,4,2            ## @IRQF_NO_SUSPEND
L_.str.1:                               ## @.str.1
	.asciz	"intel_punit_ipc"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to request irq: %d\n"

	.no_dead_strip	_intel_punit_ipc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_punit_ipc_probe
_intel_punit_ipc_probe:                 ; @intel_punit_ipc_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
Lloh3:
	adrp	x23, _punit_ipcdev@GOTPAGE
Lloh4:
	ldr	x23, [x23, _punit_ipcdev@GOTPAGEOFF]
	str	x0, [x23]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, x0
	mov	x0, x19
	bl	_platform_set_drvdata
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq_optional
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh5:
	adrp	x8, _intel_punit_ioc@GOTPAGE
Lloh6:
	ldr	x8, [x8, _intel_punit_ioc@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _IRQF_NO_SUSPEND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQF_NO_SUSPEND@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x4, l_.str.1@PAGE
Lloh12:
	add	x4, x4, l_.str.1@PAGEOFF
Lloh13:
	adrp	x22, _punit_ipcdev@GOTPAGE
Lloh14:
	ldr	x22, [x22, _punit_ipcdev@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x5, x22
	bl	_devm_request_irq
	cbz	w0, LBB0_6
; %bb.3:
	mov	x21, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
	b	LBB0_9
LBB0_4:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_5:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	b	LBB0_7
LBB0_6:
	ldr	x8, [x22]
	str	w20, [x8]
LBB0_7:
	mov	x0, x19
	bl	_intel_punit_get_bars
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	x8, [x23]
	str	x19, [x8, #16]
	add	x0, x8, #8
	bl	_mutex_init
	ldr	x8, [x23]
	add	x0, x8, #4
	bl	_init_completion
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_punit_ipcdev,8,3               ; @punit_ipcdev
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid IRQ, using polling mode\n"

	.comm	_intel_punit_ioc,4,2            ; @intel_punit_ioc
	.comm	_IRQF_NO_SUSPEND,4,2            ; @IRQF_NO_SUSPEND
l_.str.1:                               ; @.str.1
	.asciz	"intel_punit_ipc"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to request irq: %d\n"

	.no_dead_strip	_intel_punit_ipc_probe
.subsections_via_symbols
