	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retrieve_bss
_retrieve_bss:                          ## @retrieve_bss
	.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
	movl	(%rdi), %eax
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rdi, %r12
	cmpq	$0, 48(%rdi)
	je	LBB0_2
## %bb.10:
	movl	$0, 4(%r12)
	testl	%eax, %eax
	jle	LBB0_19
## %bb.11:
	movq	8(%r12), %rcx
	movq	24(%r12), %rdx
	movl	$-1, %r14d
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	testq	%rdi, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rsi
	addq	$40, %rdx
	cmpq	%rsi, %rax
	je	LBB0_19
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdx), %rcx
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 40(%r12)
	movq	32(%rdx), %rdi
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	testq	%rdi, %rdi
	je	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	testb	$-128, 8(%rdx)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%esi, 4(%r12)
	movl	%esi, %r14d
	jmp	LBB0_18
LBB0_2:
	testl	%eax, %eax
	jle	LBB0_19
## %bb.3:
	movl	$-128, %r15d
	movl	$-1, %r14d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	addq	$40, %rbx
	cmpq	%rax, %r13
	jge	LBB0_19
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdx
	movq	24(%r12), %rax
	cmpq	16(%rax,%rbx), %rdx
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	32(%r12), %edi
	movl	24(%rax,%rbx), %esi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rcx
	movq	24(%r12), %rax
	cmpq	(%rax,%rbx), %rcx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rax,%rbx), %esi
	movq	%r12, %rdi
	callq	_atmel_validate_channel
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movl	12(%rax,%rbx), %eax
	cmpl	%r15d, %eax
	cmovgl	%eax, %r15d
	cmovgel	%r13d, %r14d
	jmp	LBB0_9
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_retrieve_bss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retrieve_bss
_retrieve_bss:                          ; @retrieve_bss
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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]
	cbz	w8, LBB0_19
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #48]
	cbz	x9, LBB0_11
; %bb.2:
	str	wzr, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.3:
	mov	x9, #0
	ldr	x10, [x19, #8]
	ldr	x11, [x19, #24]
	mov	w20, #-1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	x12, LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	add	x11, x11, #40
	cmp	x8, x9
	b.eq	LBB0_20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cmp	x10, x12
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x19, #40]
	ldr	x12, [x11, #32]
	cbz	x13, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x12, LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w12, [x11, #8]
	tbnz	w12, #7, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x19, #4]
	mov	x20, x9
	b	LBB0_5
LBB0_11:
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.12:
	mov	x21, #0
	mov	x22, #0
	mov	w23, #-128
	mov	w20, #-1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #40
	cmp	x22, x8
	b.ge	LBB0_20
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	x2, x8, [x19, #16]
	add	x8, x8, x21
	ldr	x9, [x8, #16]
	cmp	x2, x9
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x19, #32]
	ldr	w1, [x8, #24]
	bl	_memcmp
	cbnz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x19, #8]
	ldr	x8, [x19, #24]
	ldr	x10, [x8, x21]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x8, x8, x21
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_atmel_validate_channel
	cbnz	x0, LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x21
	ldr	w8, [x8, #12]
	cmp	w8, w23
	csel	w23, w8, w23, gt
	csel	w20, w20, w22, lt
	b	LBB0_13
LBB0_19:
	mov	w20, #-1
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_retrieve_bss
.subsections_via_symbols
