	.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:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_umad_client@GOTPCREL(%rip), %rsi
	callq	_ib_get_client_data
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movl	(%rax), %eax
	cmpl	4(%r14), %eax
	jl	LBB0_4
## %bb.2:
	movq	$-1, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	callq	_ib_umad_kill_port
	movslq	(%r14), %rax
	movslq	4(%r14), %rcx
	subq	%rcx, %rax
	incq	%r15
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	addq	$8, %r14
	movq	_ib_umad_release_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kref_put                       ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_umad_client,4,2                ## @umad_client
	.comm	_ib_umad_release_dev,4,2        ## @ib_umad_release_dev
	.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:
	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
Lloh0:
	adrp	x1, _umad_client@GOTPAGE
Lloh1:
	ldr	x1, [x1, _umad_client@GOTPAGEOFF]
	bl	_ib_get_client_data
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.2:
	mov	x20, #0
	mov	x21, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x20
	bl	_ib_umad_kill_port
	ldpsw	x8, x9, [x19]
	add	x21, x21, #1
	add	x20, x20, #4
	sub	x8, x8, x9
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	add	x0, x19, #8
Lloh2:
	adrp	x8, _ib_umad_release_dev@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ib_umad_release_dev@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	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	_kref_put
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_umad_client,4,2                ; @umad_client
	.comm	_ib_umad_release_dev,4,2        ; @ib_umad_release_dev
	.no_dead_strip	_ib_umad_remove_one
.subsections_via_symbols
