	.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
	cmpl	$2, %edi
	jl	LBB0_1
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	$0, -64(%rbp)
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	callq	_sigemptyset
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	movl	%ebx, %edx
	movq	%r14, %rsi
	callq	_sigaction
	movl	%ebx, %edi
	callq	_closefrom
	movq	_env@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movl	$-1, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_ioctl
	jmp	LBB0_3
LBB0_4:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_O_RDWR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, %r12d
	movl	(%r14), %eax
	movq	_O_APPEND@GOTPCREL(%rip), %rcx
	movq	_O_CREAT@GOTPCREL(%rip), %rdx
	movq	_O_NOCTTY@GOTPCREL(%rip), %rsi
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rdi
	movq	_O_NDELAY@GOTPCREL(%rip), %r8
	movq	_O_SYNC@GOTPCREL(%rip), %r9
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	orl	(%rdi), %eax
	orl	(%r8), %eax
	orl	(%r9), %eax
	movq	_O_TRUNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %esi
	orl	$438, %esi                      ## imm = 0x1B6
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, %r13d
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$123, %esi
	movl	%ebx, %edi
	callq	_lseek
	xorl	%r14d, %r14d
	movl	%r14d, %r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_ioctl
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_ioctl
	movl	%r12d, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_ioctl
	movl	%r13d, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_ioctl
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_ioctl
	movl	$1, %edi
	callq	_assert
	movl	%r14d, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/null"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Usage: %s\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_interrupt,4,2                  ## @interrupt
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_env,4,2                        ## @env
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_NOCTTY,4,2                   ## @O_NOCTTY
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_O_NDELAY,4,2                   ## @O_NDELAY
	.comm	_O_SYNC,4,2                     ## @O_SYNC
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.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, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x1]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x19, #0
Lloh8:
	adrp	x8, _interrupt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _interrupt@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	add	x20, sp, #8
	mov	x0, x20
	bl	_sigemptyset
Lloh11:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_sigaction
	mov	w0, #0
	bl	_closefrom
Lloh14:
	adrp	x8, _env@GOTPAGE
Lloh15:
	ldr	x8, [x8, _env@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_sigsetjmp
	cbnz	x0, LBB0_5
; %bb.3:
	mov	w19, #-1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #0
	mov	x2, #0
	mov	x0, x19
	bl	_ioctl
	b	LBB0_4
LBB0_5:
Lloh17:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x22, l_.str@PAGE
Lloh21:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_open
	mov	x19, x0
Lloh22:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_open
	mov	x20, x0
Lloh25:
	adrp	x24, _O_RDWR@GOTPAGE
Lloh26:
	ldr	x24, [x24, _O_RDWR@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	_open
	mov	x21, x0
	ldr	w8, [x24]
Lloh27:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh28:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _O_CREAT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _O_CREAT@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
Lloh33:
	adrp	x11, _O_NOCTTY@GOTPAGE
Lloh34:
	ldr	x11, [x11, _O_NOCTTY@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
Lloh36:
	adrp	x12, _O_NONBLOCK@GOTPAGE
Lloh37:
	ldr	x12, [x12, _O_NONBLOCK@GOTPAGEOFF]
Lloh38:
	ldr	w12, [x12]
Lloh39:
	adrp	x13, _O_NDELAY@GOTPAGE
Lloh40:
	ldr	x13, [x13, _O_NDELAY@GOTPAGEOFF]
Lloh41:
	ldr	w13, [x13]
Lloh42:
	adrp	x14, _O_SYNC@GOTPAGE
Lloh43:
	ldr	x14, [x14, _O_SYNC@GOTPAGEOFF]
Lloh44:
	ldr	w14, [x14]
Lloh45:
	adrp	x15, _O_TRUNC@GOTPAGE
Lloh46:
	ldr	x15, [x15, _O_TRUNC@GOTPAGEOFF]
Lloh47:
	ldr	w15, [x15]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w8, w8, w13
	orr	w8, w8, w14
	orr	w8, w8, w15
	mov	w9, #438
	orr	w1, w8, w9
	mov	x0, x22
	bl	_open
	mov	x23, x0
	ldr	w1, [x24]
	mov	x0, x22
	bl	_open
	mov	x22, x0
Lloh48:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	w1, #123
	bl	_lseek
	mov	w24, #0
	mov	x25, #0
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_ioctl
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	bl	_ioctl
	mov	x0, x21
	mov	x1, x24
	mov	x2, x25
	bl	_ioctl
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_ioctl
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_ioctl
	mov	w0, #1
	bl	_assert
	mov	x0, x24
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/null"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Usage: %s\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_interrupt,4,2                  ; @interrupt
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_env,4,2                        ; @env
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_NOCTTY,4,2                   ; @O_NOCTTY
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_O_NDELAY,4,2                   ; @O_NDELAY
	.comm	_O_SYNC,4,2                     ; @O_SYNC
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
