	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_convert_atmel_pri
_fixup_convert_atmel_pri:               ## @fixup_convert_atmel_pri
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	16(%r14), %rbx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	5(%rbx), %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_memset
	testb	$2, -32(%rbp)
	je	LBB0_2
## %bb.1:
	movl	$2, (%rbx)
LBB0_2:
	movq	(%r14), %rax
	xorl	%ecx, %ecx
	cmpq	$0, -24(%rbp)
	movq	_AT49BV6416@GOTPCREL(%rip), %rdx
	sete	%cl
	movl	%ecx, %esi
	xorl	$3, %esi
	orl	$2, %ecx
	cmpq	(%rdx), %rax
	cmovel	%esi, %ecx
	movl	%ecx, 4(%rbx)
	movq	8(%r14), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT49BV6416,8,3                 ## @AT49BV6416
	.no_dead_strip	_fixup_convert_atmel_pri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_convert_atmel_pri
_fixup_convert_atmel_pri:               ; @fixup_convert_atmel_pri
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	x19, [x20, #16]
	mov	x0, sp
	mov	x1, x19
	mov	w2, #16
	bl	_memcpy
	add	x0, x19, #5
	mov	w1, #0
	mov	w2, #3
	bl	_memset
	ldrb	w8, [sp]
	tbz	w8, #1, LBB0_2
; %bb.1:
	mov	w8, #2
	str	w8, [x19]
LBB0_2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _AT49BV6416@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AT49BV6416@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [sp, #8]
	cmp	x10, #0
	mov	w10, #2
	cinc	w11, w10, ne
	cinc	w10, w10, eq
	cmp	x8, x9
	csel	w8, w11, w10, eq
	str	w8, [x19, #4]
	ldr	x8, [x20, #8]
	stp	xzr, xzr, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT49BV6416,8,3                 ; @AT49BV6416
	.no_dead_strip	_fixup_convert_atmel_pri
.subsections_via_symbols
