	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_scu_irq_group_enable       ## -- Begin function imx_scu_irq_group_enable
	.p2align	4, 0x90
_imx_scu_irq_group_enable:              ## @imx_scu_irq_group_enable
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_imx_sc_irq_ipc_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	_IMX_SC_RPC_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_IMX_SC_RPC_SVC_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_IMX_SC_IRQ_FUNC_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$3, -44(%rbp)
	movq	_mu_resource_id@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r15, -56(%rbp)
	movl	%esi, -64(%rbp)
	movq	%rdx, -72(%rbp)
	leaq	-72(%rbp), %rsi
	movl	$1, %edx
	callq	_imx_scu_call_rpc
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_pr_err
	jmp	LBB0_5
LBB0_1:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_imx_sc_irq_ipc_handle,4,2      ## @imx_sc_irq_ipc_handle
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_IMX_SC_RPC_VERSION,4,2         ## @IMX_SC_RPC_VERSION
	.comm	_IMX_SC_RPC_SVC_IRQ,4,2         ## @IMX_SC_RPC_SVC_IRQ
	.comm	_IMX_SC_IRQ_FUNC_ENABLE,4,2     ## @IMX_SC_IRQ_FUNC_ENABLE
	.comm	_mu_resource_id,4,2             ## @mu_resource_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enable irq failed, group %d, mask %d, ret %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_scu_irq_group_enable       ; -- Begin function imx_scu_irq_group_enable
	.p2align	2
_imx_scu_irq_group_enable:              ; @imx_scu_irq_group_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
Lloh0:
	adrp	x8, _imx_sc_irq_ipc_handle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _imx_sc_irq_ipc_handle@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	cbz	w0, LBB0_3
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x8, _IMX_SC_RPC_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IMX_SC_RPC_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh6:
	adrp	x8, _IMX_SC_RPC_SVC_IRQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IMX_SC_RPC_SVC_IRQ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IMX_SC_IRQ_FUNC_ENABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IMX_SC_IRQ_FUNC_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
	mov	w8, #3
Lloh12:
	adrp	x9, _mu_resource_id@GOTPAGE
Lloh13:
	ldr	x9, [x9, _mu_resource_id@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
	str	x20, [sp, #16]
	str	w1, [sp, #8]
	str	x2, [sp]
	mov	x1, sp
	mov	w2, #1
	bl	_imx_scu_call_rpc
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_pr_err
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_imx_sc_irq_ipc_handle,4,2      ; @imx_sc_irq_ipc_handle
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_IMX_SC_RPC_VERSION,4,2         ; @IMX_SC_RPC_VERSION
	.comm	_IMX_SC_RPC_SVC_IRQ,4,2         ; @IMX_SC_RPC_SVC_IRQ
	.comm	_IMX_SC_IRQ_FUNC_ENABLE,4,2     ; @IMX_SC_IRQ_FUNC_ENABLE
	.comm	_mu_resource_id,4,2             ; @mu_resource_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enable irq failed, group %d, mask %d, ret %d\n"

.subsections_via_symbols
