	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_mdss_irq_domain_add
__dpu_mdss_irq_domain_add:              ## @_dpu_mdss_irq_domain_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_dpu_mdss_irqdomain_ops@GOTPCREL(%rip), %rdx
	movl	$32, %esi
	movq	%rbx, %rcx
	callq	_irq_domain_add_linear
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	$0, 8(%rbx)
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DPU_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dpu_mdss_irqdomain_ops,4,2     ## @dpu_mdss_irqdomain_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add irq_domain\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	__dpu_mdss_irq_domain_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_mdss_irq_domain_add
__dpu_mdss_irq_domain_add:              ; @_dpu_mdss_irq_domain_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh0:
	adrp	x2, _dpu_mdss_irqdomain_ops@GOTPAGE
Lloh1:
	ldr	x2, [x2, _dpu_mdss_irqdomain_ops@GOTPAGEOFF]
	mov	w1, #32
	mov	x3, x19
	bl	_irq_domain_add_linear
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	stp	x8, xzr, [x19]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPU_ERROR
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_dpu_mdss_irqdomain_ops,4,2     ; @dpu_mdss_irqdomain_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add irq_domain\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	__dpu_mdss_irq_domain_add
.subsections_via_symbols
