	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca_stat
_ca_stat:                               ## @ca_stat
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	-72(%rbp), %rsi
	callq	_umad_get_ca
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-72(%rbp), %rax
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_19
## %bb.3:
	testl	%r14d, %r14d
	js	LBB0_15
## %bb.4:
	testl	%r12d, %r12d
	jne	LBB0_15
## %bb.5:
	movl	-64(%rbp), %r8d
	cmpl	%r14d, %r8d
	jl	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rcx
	movl	%r14d, %r12d
	cmpl	$0, (%rcx,%r12,4)
	je	LBB0_7
## %bb.11:
	movq	_IB_NODE_MAX@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jae	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_14
LBB0_1:
	movl	%eax, %r13d
	jmp	LBB0_19
LBB0_15:
	leaq	-72(%rbp), %rdi
	callq	_ca_dump
	testl	%r12d, %r12d
	jne	LBB0_19
## %bb.16:
	cmpl	$0, -64(%rbp)
	js	LBB0_19
## %bb.17:
	movq	$-1, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	4(%rax,%rbx,4), %edi
	xorl	%esi, %esi
	callq	_port_dump
	movslq	-64(%rbp), %rax
	incq	%rbx
	cmpq	%rax, %rbx
	jl	LBB0_18
	jmp	LBB0_19
LBB0_7:
	movq	_IB_NODE_MAX@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jae	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_9:
	movq	_node_type_str@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rsi
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_IBWARN
	movl	$-1, %r13d
	jmp	LBB0_19
LBB0_13:
	movq	_node_type_str@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rsi
LBB0_14:
	movq	-56(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movq	-48(%rbp), %rax
	movl	(%rax,%r12,4), %edi
	movl	$1, %esi
	callq	_port_dump
LBB0_19:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: '%s' has no port number %d - max (%d)"

	.comm	_IB_NODE_MAX,4,2                ## @IB_NODE_MAX
	.comm	_node_type_str,8,3              ## @node_type_str
L_.str.1:                               ## @.str.1
	.asciz	"???"

L_.str.2:                               ## @.str.2
	.asciz	"%s: '%s'\n"

	.no_dead_strip	_ca_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca_stat
_ca_stat:                               ; @ca_stat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x1, sp
	bl	_umad_get_ca
	tbnz	w0, #31, LBB0_19
; %bb.1:
	ldr	x8, [sp]
	cbz	x8, LBB0_18
; %bb.2:
	tbnz	w19, #31, LBB0_8
; %bb.3:
	cbnz	w21, LBB0_8
; %bb.4:
	ldr	w4, [sp, #8]
	cmp	w4, w19
	b.lt	LBB0_12
; %bb.5:
	ldr	x9, [sp, #24]
	ldr	w9, [x9, w19, uxtw #2]
	cbz	w9, LBB0_12
; %bb.6:
	mov	w19, w19
Lloh0:
	adrp	x9, _IB_NODE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_NODE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8
	b.hs	LBB0_16
; %bb.7:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_8:
	mov	x0, sp
	bl	_ca_dump
	cbnz	w21, LBB0_18
; %bb.9:
	ldr	w8, [sp, #8]
	tbnz	w8, #31, LBB0_18
; %bb.10:
	mov	x19, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x19, lsl #2]
	mov	w1, #0
	bl	_port_dump
	add	x8, x19, #1
	ldrsw	x9, [sp, #8]
	cmp	x19, x9
	mov	x19, x8
	b.lt	LBB0_11
	b	LBB0_18
LBB0_12:
Lloh5:
	adrp	x9, _IB_NODE_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_NODE_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w9, w8
	b.hs	LBB0_14
; %bb.13:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh10:
	adrp	x9, _node_type_str@GOTPAGE
Lloh11:
	ldr	x9, [x9, _node_type_str@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	x1, [x9, x8, lsl #3]
LBB0_15:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_IBWARN
	mov	w0, #-1
	b	LBB0_19
LBB0_16:
Lloh15:
	adrp	x9, _node_type_str@GOTPAGE
Lloh16:
	ldr	x9, [x9, _node_type_str@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x1, [x9, x8, lsl #3]
LBB0_17:
	ldr	x2, [sp, #16]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x19, lsl #2]
	mov	w1, #1
	bl	_port_dump
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: '%s' has no port number %d - max (%d)"

	.comm	_IB_NODE_MAX,4,2                ; @IB_NODE_MAX
	.comm	_node_type_str,8,3              ; @node_type_str
l_.str.1:                               ; @.str.1
	.asciz	"???"

l_.str.2:                               ; @.str.2
	.asciz	"%s: '%s'\n"

	.no_dead_strip	_ca_stat
.subsections_via_symbols
