	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_manpage                ## -- Begin function process_manpage
	.p2align	4, 0x90
_process_manpage:                       ## @process_manpage
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r12d
	movl	%edi, %r15d
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_NOFOLLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_S_IRGRP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_S_IROTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_openat
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_sock_fd_write
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_close
	movl	%ebx, %edi
	callq	_close
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	movl	$-1, %ebx
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_warn
	movl	%r14d, %edi
	callq	_close
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open(%s)"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_NOFOLLOW,4,2                 ## @O_NOFOLLOW
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_S_IRGRP,4,2                    ## @S_IRGRP
	.comm	_S_IROTH,4,2                    ## @S_IROTH
L_.str.1:                               ## @.str.1
	.asciz	"openat(%s)"

	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
L_.str.2:                               ## @.str.2
	.asciz	"sendmsg"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_manpage                ; -- Begin function process_manpage
	.p2align	2
_process_manpage:                       ; @process_manpage
	.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	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _O_NOFOLLOW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_NOFOLLOW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _O_TRUNC@GOTPAGE
Lloh13:
	ldr	x10, [x10, _O_TRUNC@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh15:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _S_IRGRP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_IRGRP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _S_IROTH@GOTPAGE
Lloh25:
	ldr	x9, [x9, _S_IROTH@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x22
	mov	x1, x20
	bl	_openat
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
	mov	x22, x0
Lloh27:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_sock_fd_write
	mov	x20, x0
	mov	x0, x19
	bl	_close
	mov	x0, x22
	bl	_close
	tbnz	w20, #31, LBB0_6
; %bb.3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	str	x20, [sp]
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	str	x20, [sp]
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	mov	x0, x19
	bl	_close
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	mov	w0, #-1
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open(%s)"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_NOFOLLOW,4,2                 ; @O_NOFOLLOW
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_S_IRGRP,4,2                    ; @S_IRGRP
	.comm	_S_IROTH,4,2                    ; @S_IROTH
l_.str.1:                               ; @.str.1
	.asciz	"openat(%s)"

	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
l_.str.2:                               ; @.str.2
	.asciz	"sendmsg"

.subsections_via_symbols
