	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %rbx
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movq	8(%rbx), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_make_file
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_2:
	movl	%edi, %r12d
	movq	8(%rbx), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_make_file
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$2, %r12d
	jne	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_4:
	movq	16(%rbx), %rdi
	addq	$16, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %ebx
	addl	$-2, %r12d
LBB0_5:
	movq	_ignore_alarm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_sigemptyset
	movq	$0, -72(%rbp)
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_tests@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movl	$8, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%rax,%r15)
	movq	(%r13), %rax
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movq	%rax, %rdi
	callq	_nitems
	movl	%eax, %eax
	addq	$24, %r15
	cmpq	%rax, %r14
	jae	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%ebx, -8(%rax,%r15)
	je	LBB0_9
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: flock <directory> [test number] ..."

	.comm	_ignore_alarm,4,2               ## @ignore_alarm
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_tests,8,3                      ## @tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	x19, x1
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x0, [x19, #8]
	mov	w1, #1024
	bl	_make_file
	mov	x20, x0
	mov	w22, #0
	mov	w21, #0
	mov	x19, #0
	b	LBB0_5
LBB0_2:
	mov	x21, x0
	ldr	x0, [x19, #8]
	mov	w1, #1024
	bl	_make_file
	mov	x20, x0
	subs	w21, w21, #2
	b.ne	LBB0_4
; %bb.3:
	mov	w22, #0
	mov	x19, #0
	b	LBB0_5
LBB0_4:
	ldr	x0, [x19, #16]!
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	mov	x22, x0
LBB0_5:
Lloh2:
	adrp	x8, _ignore_alarm@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ignore_alarm@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	x8, sp
	add	x0, x8, #8
	bl	_sigemptyset
	str	xzr, [sp]
Lloh5:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, sp
	mov	w2, #0
	bl	_sigaction
Lloh8:
	adrp	x23, _tests@GOTPAGE
Lloh9:
	ldr	x23, [x23, _tests@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_nitems
	cbz	w0, LBB0_11
; %bb.6:
	mov	x24, #0
	mov	x25, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x0, x24
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	blr	x8
	ldr	x0, [x23]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x25, x25, #1
	bl	_nitems
	add	x24, x24, #24
	cmp	x25, w0, uxtw
	b.hs	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	cbz	w22, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x0, x24]
	cmp	w8, w22
	b.eq	LBB0_7
	b	LBB0_8
LBB0_11:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: flock <directory> [test number] ..."

	.comm	_ignore_alarm,4,2               ; @ignore_alarm
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_tests,8,3                      ; @tests
.subsections_via_symbols
