	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_irq_remapping_cap              ## -- Begin function irq_remapping_cap
	.p2align	4, 0x90
_irq_remapping_cap:                     ## @irq_remapping_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_remap_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	_disable_irq_post@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_3
## %bb.2:
	movl	$1, %eax
	movl	%edi, %ecx
	shll	%cl, %eax
	andl	(%rdx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remap_ops,8,3                  ## @remap_ops
	.comm	_disable_irq_post,8,3           ## @disable_irq_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_irq_remapping_cap              ; -- Begin function irq_remapping_cap
	.p2align	2
_irq_remapping_cap:                     ; @irq_remapping_cap
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _remap_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _remap_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _disable_irq_post@GOTPAGE
Lloh4:
	ldr	x9, [x9, _disable_irq_post@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w9, w9, w0
	and	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_remap_ops,8,3                  ; @remap_ops
	.comm	_disable_irq_post,8,3           ; @disable_irq_post
.subsections_via_symbols
