	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_show_measurement
_il3945_show_measurement:               ## @il3945_show_measurement
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	leaq	4(%rax), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	_MEASUREMENT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rsi
	addq	$8, %rsi
	leaq	-48(%rbp), %r15
	movl	$4, %r12d
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	$0, (%rbx)
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %r9d
	xorl	%ebx, %ebx
	testl	%r9d, %r9d
	je	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	subl	%ebx, %r9d
	movslq	%ebx, %r8
	addq	%r14, %r8
	movl	$1, (%rsp)
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$16, %edx
	movl	$1, %ecx
	callq	_hex_dump_to_buffer
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	cmpl	%eax, (%r13)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movb	$10, (%r14,%rax)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	movl	$16, %esi
	callq	_min
	subl	%eax, %r12d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$64, %r15
	movl	(%r13), %r9d
	cmpl	%ebx, %r9d
	jne	LBB0_3
	jmp	LBB0_7
LBB0_1:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEASUREMENT_READY,4,2          ## @MEASUREMENT_READY
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_il3945_show_measurement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_show_measurement
_il3945_show_measurement:               ; @il3945_show_measurement
	.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
	mov	x19, x2
	bl	_dev_get_drvdata
	mov	x21, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _MEASUREMENT_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEASUREMENT_READY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
	add	x1, x21, #8
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	str	wzr, [x21]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh3:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_8
; %bb.2:
	mov	w22, #0
	mov	w20, #4
	add	x21, sp, #8
	mov	w24, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w5, w8, w22
	add	x4, x19, w22, sxtw
	mov	x0, x21
	mov	x1, x20
	mov	w2, #16
	mov	w3, #1
	mov	w6, #1
	bl	_hex_dump_to_buffer
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w8, w0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w24, [x19, w22, sxtw]
	add	w22, w22, #1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #16
	bl	_min
	subs	w20, w20, w0
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	add	x21, x21, #64
	cmp	w8, w22
	b.ne	LBB0_3
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_8:
	mov	w22, #0
LBB0_9:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MEASUREMENT_READY,4,2          ; @MEASUREMENT_READY
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_il3945_show_measurement
.subsections_via_symbols
