	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function occ_parse_poll_response
_occ_parse_poll_response:               ## @occ_parse_poll_response
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movl	(%rdi), %edi
	movl	24(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	cmpl	$0, 20(%r14)
	je	LBB0_1
## %bb.2:
	leaq	16(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	40(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	64(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	88(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	112(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %r13
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	movq	%r15, %r8
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %eax
	movl	4(%r13,%rax,4), %r9d
	movl	8(%r13,%rax,4), %r15d
	imull	%r9d, %r15d
	addl	%r15d, %ebx
	addl	$16, %ebx
	leaq	8(%rbx), %rcx
	movq	_OCC_RESP_DATA_BYTES@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	(%r8), %edi
	cmpq	%rsi, %rcx
	jae	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r13,%rax,4), %r13
	leal	15(%r15), %ecx
	movl	16(%r13), %r8d
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	16(%r13), %edx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_warn
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r13), %eax
	movl	%eax, (%rcx)
	movl	12(%r13), %eax
	movl	%eax, 16(%rcx)
	movq	%r13, 8(%rcx)
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	addl	$16, %r15d
	incl	%r12d
	movl	%r15d, %edx
	cmpl	20(%r14), %r12d
	jb	LBB0_3
	jmp	LBB0_12
LBB0_1:
	xorl	%ebx, %ebx
	movq	%r15, %r8
LBB0_12:
	movl	(%r8), %edi
	leal	8(%rbx), %r8d
	leaq	L_.str.9(%rip), %rsi
	movl	%ebx, %edx
	movl	$8, %ecx
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OCC found, code level: %.16s\n"

	.comm	_OCC_RESP_DATA_BYTES,4,2        ## @OCC_RESP_DATA_BYTES
L_.str.1:                               ## @.str.1
	.asciz	"exceeded response buffer\n"

L_.str.2:                               ## @.str.2
	.asciz	" %04x..%04x: %.4s (%d sensors)\n"

L_.str.3:                               ## @.str.3
	.asciz	"TEMP"

L_.str.4:                               ## @.str.4
	.asciz	"FREQ"

L_.str.5:                               ## @.str.5
	.asciz	"POWR"

L_.str.6:                               ## @.str.6
	.asciz	"CAPS"

L_.str.7:                               ## @.str.7
	.asciz	"EXTN"

L_.str.8:                               ## @.str.8
	.asciz	"sensor not supported %.4s\n"

L_.str.9:                               ## @.str.9
	.asciz	"Max resp size: %u+%zd=%zd\n"

	.no_dead_strip	_occ_parse_poll_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function occ_parse_poll_response
_occ_parse_poll_response:               ; @occ_parse_poll_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	x26, [x0, #8]
	ldr	w0, [x0]
	ldr	w2, [x26, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w8, [x26, #20]
	cbz	w8, LBB0_11
; %bb.1:
	mov	w27, #0
	mov	w2, #0
	mov	w20, #0
	add	x9, x19, #16
	add	x8, x19, #40
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	add	x8, x19, #64
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x24, x19, #88
Lloh2:
	adrp	x25, _OCC_RESP_DATA_BYTES@GOTPAGE
Lloh3:
	ldr	x25, [x25, _OCC_RESP_DATA_BYTES@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.3@PAGE
Lloh5:
	add	x22, x22, l_.str.3@PAGEOFF
	add	x23, x19, #112
	mov	x28, x26
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x28, w2, uxtw #2
	ldp	w8, w9, [x28, #4]
	mul	w9, w9, w8
	add	w21, w9, #16
	add	w20, w21, w20
	add	x10, x20, #8
	ldr	w11, [x25]
	ldr	w0, [x19]
	cmp	x10, x11
	b.hs	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w3, w9, #15
	ldr	w4, [x28, #16]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x28, #16]
	mov	x1, x22
	mov	w2, #4
	bl	_strncmp
	mov	x8, x23
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28, #16]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	mov	x8, x24
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28, #16]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28, #16]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28, #16]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	ldr	w8, [x28, #16]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_warn
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x28, #4]
	str	w9, [x8]
	ldr	w9, [x28, #12]
	str	w9, [x8, #16]
	str	x28, [x8, #8]
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w27, w27, #1
	ldr	w8, [x26, #20]
	mov	x2, x21
	cmp	w27, w8
	b.lo	LBB0_2
	b	LBB0_12
LBB0_11:
	mov	w20, #0
LBB0_12:
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	add	w4, w20, #8
	mov	x2, x20
	mov	w3, #8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_dev_dbg
LBB0_13:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_dev_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OCC found, code level: %.16s\n"

	.comm	_OCC_RESP_DATA_BYTES,4,2        ; @OCC_RESP_DATA_BYTES
l_.str.1:                               ; @.str.1
	.asciz	"exceeded response buffer\n"

l_.str.2:                               ; @.str.2
	.asciz	" %04x..%04x: %.4s (%d sensors)\n"

l_.str.3:                               ; @.str.3
	.asciz	"TEMP"

l_.str.4:                               ; @.str.4
	.asciz	"FREQ"

l_.str.5:                               ; @.str.5
	.asciz	"POWR"

l_.str.6:                               ; @.str.6
	.asciz	"CAPS"

l_.str.7:                               ; @.str.7
	.asciz	"EXTN"

l_.str.8:                               ; @.str.8
	.asciz	"sensor not supported %.4s\n"

l_.str.9:                               ; @.str.9
	.asciz	"Max resp size: %u+%zd=%zd\n"

	.no_dead_strip	_occ_parse_poll_response
.subsections_via_symbols
