	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gic_cpu_mask
_gic_cpu_mask:                          ## @gic_cpu_mask
	.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
	xorl	%edi, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movl	$4, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movl	$8, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movl	$12, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	movl	$16, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movl	$20, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movl	$24, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movl	$28, %edi
	callq	_GICD_ITARGETSR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gic_d_read_4
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movl	%eax, %ecx
	sarl	$16, %ecx
	orl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$8, %eax
	orl	%ecx, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gic_cpu_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gic_cpu_mask
_gic_cpu_mask:                          ; @gic_cpu_mask
	.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
	mov	w0, #0
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.1:
	mov	w0, #4
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.2:
	mov	w0, #8
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.3:
	mov	w0, #12
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.4:
	mov	w0, #16
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.5:
	mov	w0, #20
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.6:
	mov	w0, #24
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbnz	w0, LBB0_8
; %bb.7:
	mov	w0, #28
	bl	_GICD_ITARGETSR
	mov	x1, x0
	mov	x0, x19
	bl	_gic_d_read_4
	cbz	w0, LBB0_10
LBB0_8:
	orr	w8, w0, w0, asr #16
	orr	w0, w8, w8, asr #8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gic_cpu_mask
.subsections_via_symbols
