	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_modification
_parse_modification:                    ## @parse_modification
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	%rsi, %rdi
	movl	$16, %esi
	callq	_bzero
	leaq	12(%r14), %rcx
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-68(%rbp), %r8
	leaq	-72(%rbp), %r9
	movq	%r15, %rdi
	callq	_sscanf
	movl	%eax, %ebx
	cmpl	$2, %eax
	jg	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.16:
	leaq	L_.str.7(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_17
LBB0_3:
	cmpl	$4, %ebx
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_5:
	movl	-68(%rbp), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	jb	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	movl	-68(%rbp), %eax
LBB0_7:
	movq	_MOD_XOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movl	%eax, (%r14)
	jmp	LBB0_17
LBB0_9:
	cmpl	$4, %ebx
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_11:
	cmpl	$256, -68(%rbp)                 ## imm = 0x100
	jb	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_13:
	movl	-72(%rbp), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	jb	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	movl	-72(%rbp), %eax
LBB0_15:
	movq	_MOD_AND_OR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movl	-68(%rbp), %ecx
	movl	%ecx, (%r14)
	movl	%eax, 4(%r14)
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%16[^:]%*[:]%llu%*[:]%i%*[:]%i"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid modification spec \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"xor"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid XOR modification value"

	.comm	_MOD_XOR,4,2                    ## @MOD_XOR
L_.str.4:                               ## @.str.4
	.asciz	"andor"

L_.str.5:                               ## @.str.5
	.asciz	"Invalid AND modification value"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid OR modification value"

	.comm	_MOD_AND_OR,4,2                 ## @MOD_AND_OR
L_.str.7:                               ## @.str.7
	.asciz	"Invalid modification type \"%s\""

	.no_dead_strip	_parse_modification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_modification
_parse_modification:                    ; @parse_modification
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	x0, x1
	mov	w1, #16
	bl	_bzero
	add	x3, x19, #12
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #23
	add	x4, sp, #16
	add	x5, sp, #12
	mov	x0, x20
	bl	_sscanf
	mov	x21, x0
	cmp	w0, #2
	b.gt	LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #23
	bl	_strcasecmp
	cbz	x0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x22, sp, #23
	add	x0, sp, #23
	bl	_strcasecmp
	cbz	x0, LBB0_10
; %bb.4:
	str	x22, [sp]
Lloh11:
	adrp	x1, l_.str.7@PAGE
Lloh12:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_17
LBB0_5:
	cmp	w21, #4
	b.lt	LBB0_7
; %bb.6:
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_7:
	ldr	w8, [sp, #16]
	cmp	w8, #256
	b.lo	LBB0_9
; %bb.8:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w8, [sp, #16]
LBB0_9:
Lloh17:
	adrp	x9, _MOD_XOR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MOD_XOR@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	str	w9, [x19, #8]
	str	w8, [x19]
	b	LBB0_17
LBB0_10:
	cmp	w21, #4
	b.eq	LBB0_12
; %bb.11:
	str	x20, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_12:
	ldr	w8, [sp, #16]
	cmp	w8, #256
	b.lo	LBB0_14
; %bb.13:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_14:
	ldr	w8, [sp, #12]
	cmp	w8, #256
	b.lo	LBB0_16
; %bb.15:
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w8, [sp, #12]
LBB0_16:
Lloh26:
	adrp	x9, _MOD_AND_OR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MOD_AND_OR@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
	ldr	w9, [sp, #16]
	str	w9, [x19]
LBB0_17:
	ldr	x8, [sp, #40]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%16[^:]%*[:]%llu%*[:]%i%*[:]%i"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid modification spec \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"xor"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid XOR modification value"

	.comm	_MOD_XOR,4,2                    ; @MOD_XOR
l_.str.4:                               ; @.str.4
	.asciz	"andor"

l_.str.5:                               ; @.str.5
	.asciz	"Invalid AND modification value"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid OR modification value"

	.comm	_MOD_AND_OR,4,2                 ; @MOD_AND_OR
l_.str.7:                               ; @.str.7
	.asciz	"Invalid modification type \"%s\""

	.no_dead_strip	_parse_modification
.subsections_via_symbols
