	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_irqdomain_map
_amdgpu_irqdomain_map:                  ## @amdgpu_irqdomain_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AMDGPU_MAX_IRQ_SRC_ID@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	_handle_simple_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_amdgpu_irq_chip@GOTPCREL(%rip), %rax
	movl	%esi, %edi
	movq	%rax, %rsi
	callq	_irq_set_chip_and_handler
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_MAX_IRQ_SRC_ID,8,3      ## @AMDGPU_MAX_IRQ_SRC_ID
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_amdgpu_irq_chip,4,2            ## @amdgpu_irq_chip
	.comm	_handle_simple_irq,4,2          ## @handle_simple_irq
	.no_dead_strip	_amdgpu_irqdomain_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_irqdomain_map
_amdgpu_irqdomain_map:                  ; @amdgpu_irqdomain_map
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _AMDGPU_MAX_IRQ_SRC_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMDGPU_MAX_IRQ_SRC_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _handle_simple_irq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _handle_simple_irq@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _amdgpu_irq_chip@GOTPAGE
Lloh7:
	ldr	x8, [x8, _amdgpu_irq_chip@GOTPAGEOFF]
	mov	x0, x1
	mov	x1, x8
	bl	_irq_set_chip_and_handler
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x8, _EPERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_MAX_IRQ_SRC_ID,8,3      ; @AMDGPU_MAX_IRQ_SRC_ID
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_amdgpu_irq_chip,4,2            ; @amdgpu_irq_chip
	.comm	_handle_simple_irq,4,2          ; @handle_simple_irq
	.no_dead_strip	_amdgpu_irqdomain_map
.subsections_via_symbols
