	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_rdma_bmap_free             ## -- Begin function qed_rdma_bmap_free
	.p2align	4, 0x90
_qed_rdma_bmap_free:                    ## @qed_rdma_bmap_free
	.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	$856, %rsp                      ## imm = 0x358
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, -864(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rdi
	movl	8(%rsi), %esi
	callq	_bitmap_weight
	movl	%eax, %r12d
	movl	8(%rbx), %r14d
	leal	511(%r14), %r13d
	testl	%r14d, %r14d
	cmovnsl	%r14d, %r13d
	movl	%r13d, %eax
	andl	$-512, %eax                     ## imm = 0xFE00
	movl	%r14d, %edi
	subl	%eax, %edi
	movl	$64, %esi
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -888(%rbp)                ## 8-byte Spill
	movq	%rbx, -856(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rbx
	leaq	-848(%rbp), %rdi
	movl	$800, %esi                      ## imm = 0x320
	callq	___bzero
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.2:
	movq	%rbx, %r15
	sarl	$9, %r13d
	movq	-856(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %ecx
	movl	12(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-864(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movl	$0, %r12d
	cmpl	$512, %r14d                     ## imm = 0x200
	jl	LBB0_8
## %bb.3:
	xorl	%r12d, %r12d
	movq	%r15, %rbx
	movq	%r15, -880(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	addq	$32, %rbx
	addl	$8, %r12d
	cmpl	%r15d, %r13d
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_bitmap_weight
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movl	8(%rbx), %r9d
	movl	12(%rbx), %eax
	movq	%rax, -872(%rbp)                ## 8-byte Spill
	movl	16(%rbx), %eax
	movq	%rax, -896(%rbp)                ## 8-byte Spill
	movq	%r13, %r11
	movl	20(%rbx), %r13d
	movl	24(%rbx), %r14d
	movl	28(%rbx), %r10d
	subq	$8, %rsp
	movq	-864(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r14
	pushq	%r13
	movq	%r11, %r13
	pushq	-896(%rbp)                      ## 8-byte Folded Reload
	pushq	-872(%rbp)                      ## 8-byte Folded Reload
	callq	_DP_NOTICE
	addq	$48, %rsp
	jmp	LBB0_6
LBB0_7:
	movl	%r13d, %ebx
	movq	-880(%rbp), %r15                ## 8-byte Reload
LBB0_8:
	movl	%ebx, -872(%rbp)                ## 4-byte Spill
	movq	-856(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %esi
	testl	$511, %esi                      ## imm = 0x1FF
	je	LBB0_14
## %bb.9:
	movq	%r15, %rbx
	movl	%r12d, %r15d
	leaq	(%rbx,%r15,4), %rdi
	movl	%r12d, %eax
	shll	$6, %eax
	subl	%eax, %esi
	callq	_bitmap_weight
	testl	%eax, %eax
	je	LBB0_14
## %bb.10:
	movq	-888(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r13,8), %r14d
	leaq	L_.str.2(%rip), %rsi
	leaq	-848(%rbp), %rdi
	movl	-872(%rbp), %edx                ## 4-byte Reload
	callq	_sprintf
	cmpl	%r14d, %r12d
	jge	LBB0_13
## %bb.11:
	movq	%rbx, %r13
	movl	%eax, %ebx
	movl	%r14d, %r12d
	leaq	L_.str.3(%rip), %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	-848(,%rbx,4), %rdi
	addq	%rbp, %rdi
	movl	(%r13,%r15,4), %edx
	movq	%r14, %rsi
	callq	_sprintf
	addl	%eax, %ebx
	incq	%r15
	cmpq	%r15, %r12
	jne	LBB0_12
LBB0_13:
	leaq	-848(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	-864(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_DP_NOTICE
LBB0_14:
	movq	-856(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_kfree
	movq	$0, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$856, %rsp                      ## imm = 0x358
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s bitmap not free - size=%d, weight=%d, 512 bits per line\n"

L_.str.1:                               ## @.str.1
	.asciz	"line 0x%04x: 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx\n"

L_.str.2:                               ## @.str.2
	.asciz	"line 0x%04x: "

L_.str.3:                               ## @.str.3
	.asciz	"0x%016llx "

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_rdma_bmap_free             ; -- Begin function qed_rdma_bmap_free
	.p2align	2
_qed_rdma_bmap_free:                    ; @qed_rdma_bmap_free
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #880
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x0, [x1]
	ldr	w1, [x1, #8]
	bl	_bitmap_weight
	mov	x22, x0
	ldr	w24, [x19, #8]
	add	w8, w24, #511
	cmp	w24, #0
	csel	w26, w8, w24, lt
	and	w8, w26, #0xfffffe00
	sub	w0, w24, w8
	mov	w1, #64
	bl	_DIV_ROUND_UP
	mov	x21, x0
	ldr	x25, [x19]
	add	x0, sp, #72
	mov	w1, #800
	bl	_bzero
	cbz	w23, LBB0_15
; %bb.1:
	cbz	w22, LBB0_15
; %bb.2:
	asr	w26, w26, #9
	ldp	w8, w2, [x19, #8]
	stp	x8, x22, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_NOTICE
	cmp	w24, #512
	b.lt	LBB0_7
; %bb.3:
	mov	w27, #0
	mov	w22, #0
	mov	x23, x25
Lloh5:
	adrp	x24, l_.str.1@PAGE
Lloh6:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	add	x23, x23, #32
	add	w27, w27, #8
	cmp	w26, w22
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #512
	bl	_bitmap_weight
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w9, [x23]
	ldp	w10, w11, [x23, #8]
	ldp	w12, w13, [x23, #16]
	ldp	w14, w15, [x23, #24]
	stp	x14, x15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_DP_NOTICE
	b	LBB0_4
LBB0_7:
	mov	w22, #0
	mov	w27, #0
	b	LBB0_9
LBB0_8:
	mov	x22, x26
LBB0_9:
	ldr	w8, [x19, #8]
	tst	w8, #0x1ff
	b.eq	LBB0_15
; %bb.10:
	add	x0, x25, w27, uxtw #2
	sub	w1, w8, w27, lsl #6
	bl	_bitmap_weight
	cbz	w0, LBB0_15
; %bb.11:
	add	w26, w21, w26, lsl #3
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x23, sp, #72
	add	x0, sp, #72
	mov	x2, x22
	bl	_sprintf
	cmp	w27, w26
	b.ge	LBB0_14
; %bb.12:
	mov	x21, x0
	mov	w8, w27
	add	x24, x25, x8, lsl #2
	sub	x25, x26, x8
Lloh9:
	adrp	x22, l_.str.3@PAGE
Lloh10:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x23, w21, sxtw #2
	ldr	w2, [x24], #4
	mov	x1, x22
	bl	_sprintf
	add	w21, w0, w21
	subs	x25, x25, #1
	b.ne	LBB0_13
LBB0_14:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #72
	mov	x0, x20
	bl	_DP_NOTICE
LBB0_15:
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	add	sp, sp, #880
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s bitmap not free - size=%d, weight=%d, 512 bits per line\n"

l_.str.1:                               ; @.str.1
	.asciz	"line 0x%04x: 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx 0x%016llx\n"

l_.str.2:                               ; @.str.2
	.asciz	"line 0x%04x: "

l_.str.3:                               ; @.str.3
	.asciz	"0x%016llx "

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

.subsections_via_symbols
