	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_partvar                  ## -- Begin function parse_partvar
	.p2align	4, 0x90
_parse_partvar:                         ## @parse_partvar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	callq	_sscanf
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$2, %ecx
	jne	LBB0_2
## %bb.1:
	movl	-16(%rbp), %eax
	movq	_AC49X_FLASH_ADDRMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	-12(%rbp), %ecx
	subl	%eax, %ecx
	movl	%ecx, 4(%rbx)
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%x,0x%x"

	.comm	_AC49X_FLASH_ADDRMASK,4,2       ## @AC49X_FLASH_ADDRMASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_partvar                  ; -- Begin function parse_partvar
	.p2align	2
_parse_partvar:                         ; @parse_partvar
	.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
	mov	x19, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	w10, w8, [sp, #8]
Lloh2:
	adrp	x9, _AC49X_FLASH_ADDRMASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AC49X_FLASH_ADDRMASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w9, w9, w8
	sub	w8, w10, w8
	stp	w9, w8, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%x,0x%x"

	.comm	_AC49X_FLASH_ADDRMASK,4,2       ; @AC49X_FLASH_ADDRMASK
.subsections_via_symbols
