	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_declare_cpu
_iucv_declare_cpu:                      ## @iucv_declare_cpu
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%eax, %r14d
	movq	_iucv_buffer_cpumask@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_cpu_isset
	testq	%rax, %rax
	je	LBB0_1
## %bb.13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_iucv_param_irq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r12
	movq	(%rax,%r12,8), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_iucv_irq_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %edi
	callq	_virt_to_phys
	movl	%eax, (%rbx)
	movq	_IUCV_DECLARE_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_iucv_call_b2f0
	leaq	L_.str(%rip), %rcx
	cmpl	$19, %eax
	ja	LBB0_2
## %bb.14:
	movl	%eax, %edx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_10:
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_cpu_set
	movq	_iucv_nonsmp_handler@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.11:
	movq	_iucv_irq_cpumask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpus_empty
	testq	%rax, %rax
	je	LBB0_12
LBB0_15:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iucv_allow_cpu                 ## TAILCALL
LBB0_2:
	cmpl	$62, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$92, %eax
	jne	LBB0_9
## %bb.4:
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.4(%rip), %rcx
LBB0_9:
	leaq	L_.str.6(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warning                     ## TAILCALL
LBB0_12:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iucv_block_cpu                 ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_iucv_buffer_cpumask,4,2        ## @iucv_buffer_cpumask
	.comm	_iucv_param_irq,8,3             ## @iucv_param_irq
	.comm	_iucv_irq_data,8,3              ## @iucv_irq_data
	.comm	_IUCV_DECLARE_BUFFER,4,2        ## @IUCV_DECLARE_BUFFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown"

L_.str.1:                               ## @.str.1
	.asciz	"Directory error"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid length"

L_.str.3:                               ## @.str.3
	.asciz	"Buffer already exists"

L_.str.4:                               ## @.str.4
	.asciz	"Buffer overlap"

L_.str.5:                               ## @.str.5
	.asciz	"Paging or storage error"

L_.str.6:                               ## @.str.6
	.asciz	"Defining an interrupt buffer on CPU %i failed with 0x%02x (%s)\n"

	.comm	_iucv_nonsmp_handler,8,3        ## @iucv_nonsmp_handler
	.comm	_iucv_irq_cpumask,4,2           ## @iucv_irq_cpumask
	.no_dead_strip	_iucv_declare_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_declare_cpu
_iucv_declare_cpu:                      ; @iucv_declare_cpu
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_smp_processor_id
	mov	x19, x0
Lloh0:
	adrp	x21, _iucv_buffer_cpumask@GOTPAGE
Lloh1:
	ldr	x21, [x21, _iucv_buffer_cpumask@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_cpu_isset
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _iucv_param_irq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iucv_param_irq@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x20, [x8, w19, sxtw #3]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh5:
	adrp	x8, _iucv_irq_data@GOTPAGE
Lloh6:
	ldr	x8, [x8, _iucv_irq_data@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w0, [x8, w19, sxtw #2]
	bl	_virt_to_phys
	str	w0, [x20]
Lloh8:
	adrp	x8, _IUCV_DECLARE_BUFFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IUCV_DECLARE_BUFFER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_iucv_call_b2f0
	mov	x2, x0
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	cmp	w0, #19
	b.hi	LBB0_7
; %bb.3:
	mov	w8, w2
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_cpu_set
Lloh15:
	adrp	x8, _iucv_nonsmp_handler@GOTPAGE
Lloh16:
	ldr	x8, [x8, _iucv_nonsmp_handler@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _iucv_irq_cpumask@GOTPAGE
Lloh19:
	ldr	x8, [x8, _iucv_irq_cpumask@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_cpus_empty
	cbz	x0, LBB0_12
LBB0_6:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_iucv_allow_cpu
LBB0_7:
Lloh21:
	adrp	x8, l_.str.4@PAGE
Lloh22:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	w2, #92
Lloh23:
	adrp	x9, l_.str.5@PAGE
Lloh24:
	add	x9, x9, l_.str.5@PAGEOFF
	csel	x9, x9, x3, eq
	cmp	w2, #62
	csel	x3, x8, x9, eq
	b	LBB0_11
LBB0_8:
Lloh25:
	adrp	x3, l_.str.1@PAGE
Lloh26:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh27:
	adrp	x3, l_.str.2@PAGE
Lloh28:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh29:
	adrp	x3, l_.str.3@PAGE
Lloh30:
	add	x3, x3, l_.str.3@PAGEOFF
LBB0_11:
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_warning
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_iucv_block_cpu
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.comm	_iucv_buffer_cpumask,4,2        ; @iucv_buffer_cpumask
	.comm	_iucv_param_irq,8,3             ; @iucv_param_irq
	.comm	_iucv_irq_data,8,3              ; @iucv_irq_data
	.comm	_IUCV_DECLARE_BUFFER,4,2        ; @IUCV_DECLARE_BUFFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown"

l_.str.1:                               ; @.str.1
	.asciz	"Directory error"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid length"

l_.str.3:                               ; @.str.3
	.asciz	"Buffer already exists"

l_.str.4:                               ; @.str.4
	.asciz	"Buffer overlap"

l_.str.5:                               ; @.str.5
	.asciz	"Paging or storage error"

l_.str.6:                               ; @.str.6
	.asciz	"Defining an interrupt buffer on CPU %i failed with 0x%02x (%s)\n"

	.comm	_iucv_nonsmp_handler,8,3        ; @iucv_nonsmp_handler
	.comm	_iucv_irq_cpumask,4,2           ; @iucv_irq_cpumask
	.no_dead_strip	_iucv_declare_cpu
.subsections_via_symbols
