	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_unreserve_gids       ## -- Begin function mlx5_core_unreserve_gids
	.p2align	4, 0x90
_mlx5_core_unreserve_gids:              ## @mlx5_core_unreserve_gids
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MLX5_INTERFACE_STATE_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_WARN
	movl	(%rbx), %ecx
	xorl	%edi, %edi
	cmpl	%r14d, %ecx
	setb	%dil
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_WARN
	movl	4(%rbx), %ecx
	addl	%r14d, %ecx
	movl	%ecx, 4(%rbx)
	movl	(%rbx), %edx
	subl	%r14d, %edx
	movl	%edx, (%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlx5_core_dbg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_INTERFACE_STATE_UP,4,2    ## @MLX5_INTERFACE_STATE_UP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unreserving GIDs when interfaces are up"

L_.str.1:                               ## @.str.1
	.asciz	"Unreserving %u GIDs when only %u reserved"

L_.str.2:                               ## @.str.2
	.asciz	"%u GIDs starting at %u left reserved\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_unreserve_gids       ; -- Begin function mlx5_core_unreserve_gids
	.p2align	2
_mlx5_core_unreserve_gids:              ; @mlx5_core_unreserve_gids
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MLX5_INTERFACE_STATE_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_INTERFACE_STATE_UP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_test_bit
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN
	ldr	w8, [x20]
	cmp	w8, w19
	cset	w0, lo
	stp	x19, x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN
	ldp	w9, w8, [x20]
	add	w3, w8, w19
	sub	w2, w9, w19
	stp	w2, w3, [x20]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_mlx5_core_dbg
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_INTERFACE_STATE_UP,4,2    ; @MLX5_INTERFACE_STATE_UP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unreserving GIDs when interfaces are up"

l_.str.1:                               ; @.str.1
	.asciz	"Unreserving %u GIDs when only %u reserved"

l_.str.2:                               ; @.str.2
	.asciz	"%u GIDs starting at %u left reserved\n"

.subsections_via_symbols
