	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_jobspec
_match_jobspec:                         ## @match_jobspec
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdi, %rbx
	cmpl	$0, 8(%rdi)
	je	LBB0_3
LBB0_15:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rdi
	leaq	-40(%rbp), %rsi
	callq	_calc_jobnum
	movq	$0, 8(%r15)
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	js	LBB0_6
## %bb.4:
	cmpl	%ecx, %eax
	jl	LBB0_15
## %bb.5:
	cmpl	4(%r15), %eax
	jg	LBB0_15
LBB0_6:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	movq	-40(%rbp), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_fnmatch
	testq	%rax, %rax
	jne	LBB0_15
LBB0_8:
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.10:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_ctl_readcf
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r12
	movq	16(%r15), %rdi
	movq	(%rax), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_fnmatch
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movq	16(%r15), %rax
	movl	$1, 8(%rbx)
	incl	24(%r15)
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	(%r12), %rdi
	callq	_strdup
	movq	%rax, 8(%r15)
LBB0_14:
	movq	%r12, %rdi
	callq	_ctl_freeinf
	jmp	LBB0_15
LBB0_9:
	movl	$1, 8(%rbx)
	incl	24(%r15)
	movl	$1, %r14d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fakeq"

	.no_dead_strip	_match_jobspec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_jobspec
_match_jobspec:                         ; @match_jobspec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	w21, #0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_5
LBB0_3:
	mov	w21, #0
LBB0_4:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	x0, [x20]
	add	x1, sp, #8
	bl	_calc_jobnum
	str	xzr, [x19, #8]
	ldr	w8, [x19]
	tbnz	w8, #31, LBB0_8
; %bb.6:
	cmp	w0, w8
	b.lt	LBB0_3
; %bb.7:
	ldr	w8, [x19, #4]
	cmp	w0, w8
	b.gt	LBB0_3
LBB0_8:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x1, [sp, #8]
	mov	w2, #0
	bl	_fnmatch
	mov	w21, #0
	cbnz	x0, LBB0_4
LBB0_10:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_16
; %bb.11:
	ldr	x1, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ctl_readcf
	cbz	x0, LBB0_3
; %bb.12:
	mov	x22, x0
	ldr	x0, [x19, #16]
	ldr	x1, [x22]
	mov	w2, #0
	bl	_fnmatch
	mov	w21, #0
	cbnz	x0, LBB0_15
; %bb.13:
	ldr	x8, [x19, #16]
	mov	w21, #1
	str	w21, [x20, #8]
	ldr	w9, [x19, #24]
	add	w9, w9, #1
	str	w9, [x19, #24]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	x0, [x22]
	bl	_strdup
	str	x0, [x19, #8]
	mov	w21, #1
LBB0_15:
	mov	x0, x22
	bl	_ctl_freeinf
	b	LBB0_4
LBB0_16:
	mov	w21, #1
	str	w21, [x20, #8]
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fakeq"

	.no_dead_strip	_match_jobspec
.subsections_via_symbols
