	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_debug_buf                ## -- Begin function i40iw_debug_buf
	.p2align	4, 0x90
_i40iw_debug_buf:                       ## @i40iw_debug_buf
	.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
	testl	%esi, (%rdi)
	je	LBB0_4
## %bb.1:
	movl	%r8d, %r14d
	movq	%rcx, %rbx
	movq	%rdx, %rcx
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_i40iw_debug
	movq	%rbx, %rdi
	callq	_virt_to_phys
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_i40iw_debug
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %r8d
	movq	%r12, %rdi
	movl	%r15d, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_i40iw_debug
	addl	$8, %r13d
	addq	$4, %rbx
	cmpl	%r14d, %r13d
	jl	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"starting address virt=%p phy=%llxh\n"

L_.str.2:                               ## @.str.2
	.asciz	"index %03d val: %016llx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_debug_buf                ; -- Begin function i40iw_debug_buf
	.p2align	2
_i40iw_debug_buf:                       ; @i40iw_debug_buf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	str	x2, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_i40iw_debug
	mov	x0, x20
	bl	_virt_to_phys
	stp	x20, x0, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_i40iw_debug
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w24, #0
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20], #4
	stp	x24, x8, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_i40iw_debug
	add	w24, w24, #8
	cmp	w24, w19
	b.lt	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"starting address virt=%p phy=%llxh\n"

l_.str.2:                               ; @.str.2
	.asciz	"index %03d val: %016llx\n"

.subsections_via_symbols
