	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Gnmatch                        ## -- Begin function Gnmatch
	.p2align	4, 0x90
_Gnmatch:                               ## @Gnmatch
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rdi, -56(%rbp)
	movb	(%rsi), %r13b
	xorl	%ebx, %ebx
	cmpb	$94, %r13b
	sete	%bl
	addq	%rsi, %rbx
	movl	$8, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movq	_GLOBSPACE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	shll	$3, %edi
	callq	_xmalloc
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	callq	_Strsave
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movq	(%r15), %rax
	movq	$0, 8(%rax)
	movq	_blk_indirect_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cleanup_push
	movl	(%r14), %edx
	movq	%r15, %r14
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_expbrace
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.5:
	movb	%r13b, -41(%rbp)                ## 1-byte Spill
	movq	%r12, %rdi
	callq	_Strend
	movq	%rax, %rbx
	movq	(%r14), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	addq	$8, %r14
	xorl	%r15d, %r15d
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_t_pmatch
	movq	-56(%rbp), %rcx
	cmpq	%rcx, %rbx
	cmovbeq	%rbx, %rcx
	xorl	%edx, %edx
	testl	%eax, %eax
	setne	%dl
	cmovneq	%rcx, %rbx
	orl	%edx, %r15d
	movq	(%r14), %rsi
	addq	$8, %r14
	testq	%rsi, %rsi
	jne	LBB0_7
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movb	-41(%rbp), %r13b                ## 1-byte Reload
	jmp	LBB0_9
LBB0_1:
	movq	(%r14), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	addq	$8, %rbx
	xorl	%r15d, %r15d
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_t_pmatch
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	sete	%cl
	orl	%ecx, %r15d
	movq	(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	jne	LBB0_4
	jmp	LBB0_9
LBB0_2:
	xorl	%r15d, %r15d
LBB0_9:
	xorl	%ebx, %ebx
	cmpb	$94, %r13b
	setne	%bl
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_cleanup_until
	xorl	%eax, %eax
	cmpl	%ebx, %r15d
	sete	%al
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLOBSPACE,4,2                  ## @GLOBSPACE
	.comm	_blk_indirect_cleanup,4,2       ## @blk_indirect_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Gnmatch                        ; -- Begin function Gnmatch
	.p2align	2
_Gnmatch:                               ; @Gnmatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x0
	str	x0, [sp, #8]
	mov	x8, x1
	ldrb	w23, [x8], #1
	cmp	w23, #94
	csel	x22, x1, x8, ne
	mov	w0, #8
	bl	_xmalloc
	mov	x19, x0
Lloh0:
	adrp	x24, _GLOBSPACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GLOBSPACE@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	w0, w8, #3
	bl	_xmalloc
	str	x0, [x19]
	mov	x0, x22
	bl	_Strsave
	ldr	x8, [x19]
	str	x0, [x8]
	ldr	x8, [x19]
	str	xzr, [x8, #8]
Lloh2:
	adrp	x8, _blk_indirect_cleanup@GOTPAGE
Lloh3:
	ldr	x8, [x8, _blk_indirect_cleanup@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cleanup_push
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, #0
	bl	_expbrace
	cbz	x21, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_Strend
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x1, [x8]
	cbz	x1, LBB0_7
; %bb.2:
	mov	w24, #0
	add	x25, x8, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #1
	bl	_t_pmatch
	ldr	x8, [sp, #8]
	cmp	x22, x8
	csel	x8, x8, x22, hi
	cmp	w0, #0
	cset	w9, ne
	orr	w24, w24, w9
	csel	x22, x22, x8, eq
	ldr	x1, [x25], #8
	cbnz	x1, LBB0_3
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19]
	ldr	x1, [x8]
	cbz	x1, LBB0_10
; %bb.5:
	mov	w24, #0
	add	x21, x8, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #1
	bl	_t_pmatch
	cmp	w0, #2
	cset	w8, eq
	orr	w24, w24, w8
	ldr	x1, [x21], #8
	cbnz	x1, LBB0_6
	b	LBB0_9
LBB0_7:
	mov	w24, #0
LBB0_8:
	str	x22, [x21]
LBB0_9:
	cmp	w23, #94
	cset	w20, ne
	mov	x0, x19
	bl	_cleanup_until
	cmp	w24, w20
	cset	w0, eq
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	mov	w24, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GLOBSPACE,4,2                  ; @GLOBSPACE
	.comm	_blk_indirect_cleanup,4,2       ; @blk_indirect_cleanup
.subsections_via_symbols
