	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_one_mft_record
_dump_one_mft_record:                   ## @dump_one_mft_record
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	12(%rdi), %edi
	callq	_cl_ntoh16
	movl	%eax, %r15d
	sarl	$12, %r15d
	movl	12(%r14), %edi
	callq	_cl_ntoh16
	movl	%eax, %r12d
	movq	_IB_MCAST_BLOCK_ID_MASK_HO@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	8(%r14), %edi
	callq	_cl_ntoh16
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_printf
	movq	_IB_MCAST_BLOCK_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	movq	_IB_LID_MCAST_START_HO@GOTPCREL(%rip), %rax
	shll	$5, %r12d
	addl	(%rax), %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%r13), %ebx
	movq	(%r14), %rax
	movl	(%rax,%r13,4), %edi
	callq	_cl_ntoh16
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	incq	%r13
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movl	$10, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putchar                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MCAST_BLOCK_ID_MASK_HO,4,2  ## @IB_MCAST_BLOCK_ID_MASK_HO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MFT Record dump:\n\t\tLID........................%u\n\t\tPosition...................%u\n\t\tBlock......................%u\n\t\tMFT:\n\t\tMLID\tPort Mask\n"

	.comm	_IB_LID_MCAST_START_HO,4,2      ## @IB_LID_MCAST_START_HO
	.comm	_IB_MCAST_BLOCK_SIZE,4,2        ## @IB_MCAST_BLOCK_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"\t\t0x%04x\t0x%04x\n"

	.no_dead_strip	_dump_one_mft_record
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_one_mft_record
_dump_one_mft_record:                   ; @dump_one_mft_record
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_cl_ntoh16
	asr	w21, w0, #12
	ldr	w0, [x19, #12]
	bl	_cl_ntoh16
Lloh0:
	adrp	x8, _IB_MCAST_BLOCK_ID_MASK_HO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MCAST_BLOCK_ID_MASK_HO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w20, w8, w0
	ldr	w0, [x19, #8]
	bl	_cl_ntoh16
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x20, [sp, #8]
	str	x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh5:
	adrp	x21, _IB_MCAST_BLOCK_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _IB_MCAST_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
Lloh7:
	adrp	x8, _IB_LID_MCAST_START_HO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_LID_MCAST_START_HO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	lsl	w9, w20, #5
	add	w23, w8, w9
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x23, x22
	ldr	x8, [x19]
	ldr	w0, [x8, x22, lsl #2]
	bl	_cl_ntoh16
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
	mov	x0, x20
	bl	_printf
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #10
	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
	add	sp, sp, #96
	b	_putchar
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MCAST_BLOCK_ID_MASK_HO,4,2  ; @IB_MCAST_BLOCK_ID_MASK_HO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MFT Record dump:\n\t\tLID........................%u\n\t\tPosition...................%u\n\t\tBlock......................%u\n\t\tMFT:\n\t\tMLID\tPort Mask\n"

	.comm	_IB_LID_MCAST_START_HO,4,2      ; @IB_LID_MCAST_START_HO
	.comm	_IB_MCAST_BLOCK_SIZE,4,2        ; @IB_MCAST_BLOCK_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"\t\t0x%04x\t0x%04x\n"

	.no_dead_strip	_dump_one_mft_record
.subsections_via_symbols
