	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_umad_remove_one
_ib_umad_remove_one:                    ## @ib_umad_remove_one
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_rdma_end_port
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_rdma_start_port
	cmpl	%eax, %r15d
	jge	LBB0_2
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kobject_put                    ## TAILCALL
LBB0_7:
	retq
LBB0_2:
	movq	$-1, %r15
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_rdma_end_port
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_rdma_start_port
	subl	%eax, %ebx
	movslq	%ebx, %rax
	incq	%r15
	addq	$4, %r13
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_rdma_start_port
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r15,%rax), %esi
	incl	%esi
	movq	%r12, %rdi
	callq	_rdma_cap_ib_mad
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rdi
	addq	%r13, %rdi
	callq	_ib_umad_kill_port
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ib_umad_remove_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_umad_remove_one
_ib_umad_remove_one:                    ; @ib_umad_remove_one
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_remember_state
	mov	x19, x1
	mov	x20, x0
	bl	_rdma_end_port
	mov	x21, x0
	mov	x0, x20
	bl	_rdma_start_port
	cmp	w21, w0
	b.ge	LBB0_4
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kobject_put
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
LBB0_4:
	.cfi_restore_state
	mov	x22, #0
	mov	x23, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_rdma_end_port
	mov	x21, x0
	mov	x0, x20
	bl	_rdma_start_port
	sub	w8, w21, w0
	add	x23, x23, #1
	add	x22, x22, #4
	cmp	x23, w8, sxtw
	b.ge	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_rdma_start_port
	add	w8, w23, w0
	add	w1, w8, #1
	mov	x0, x20
	bl	_rdma_cap_ib_mad
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	bl	_ib_umad_kill_port
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ib_umad_remove_one
.subsections_via_symbols
