	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_map                       ## -- Begin function load_map
	.p2align	4, 0x90
_load_map:                              ## @load_map
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_groups_fname@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movq	_map_fd@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movq	_Map@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MAP_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_read
	movq	_map_size@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	(%r15), %rdi
	callq	_close
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	jns	LBB0_4
## %bb.3:
	movq	$0, (%rbx)
	xorl	%edx, %edx
LBB0_4:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_9
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rcx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.7:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testl	%ebx, %ebx
	jne	LBB0_11
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_11:
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_groups_fname,8,3               ## @groups_fname
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"warning: no map file specified\n"

L_.str.1:                               ## @.str.1
	.asciz	"fatal: no map file specified\n"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_map_fd,8,3                     ## @map_fd
L_.str.2:                               ## @.str.2
	.asciz	"cannot open map file %s: %m"

	.comm	_Map,4,2                        ## @Map
	.comm	_MAP_SIZE,4,2                   ## @MAP_SIZE
	.comm	_map_size,8,3                   ## @map_size
	.comm	_verbosity,8,3                  ## @verbosity
L_.str.3:                               ## @.str.3
	.asciz	"read %d bytes from map file %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_map                       ; -- Begin function load_map
	.p2align	2
_load_map:                              ; @load_map
	.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	x19, x0
Lloh0:
	adrp	x20, _groups_fname@GOTPAGE
Lloh1:
	ldr	x20, [x20, _groups_fname@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_open
Lloh5:
	adrp	x21, _map_fd@GOTPAGE
Lloh6:
	ldr	x21, [x21, _map_fd@GOTPAGEOFF]
	str	x0, [x21]
	tbnz	x0, #63, LBB0_8
; %bb.2:
Lloh7:
	adrp	x8, _Map@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Map@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _MAP_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAP_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_read
Lloh13:
	adrp	x19, _map_size@GOTPAGE
Lloh14:
	ldr	x19, [x19, _map_size@GOTPAGEOFF]
	str	x0, [x19]
	ldr	x0, [x21]
	bl	_close
	ldr	x8, [x19]
	tbz	x8, #63, LBB0_4
; %bb.3:
	mov	x8, #0
	str	xzr, [x19]
LBB0_4:
Lloh15:
	adrp	x9, _verbosity@GOTPAGE
Lloh16:
	ldr	x9, [x9, _verbosity@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, #1
	b.lt	LBB0_9
; %bb.5:
Lloh18:
	adrp	x9, _stderr@GOTPAGE
Lloh19:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
	ldr	x9, [x20]
	stp	x8, x9, [sp]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	b	LBB0_9
LBB0_6:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	cbnz	w19, LBB0_10
; %bb.7:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_fprintf
LBB0_8:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	cbnz	w19, LBB0_11
LBB0_9:
	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_10:
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_11:
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_groups_fname,8,3               ; @groups_fname
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"warning: no map file specified\n"

l_.str.1:                               ; @.str.1
	.asciz	"fatal: no map file specified\n"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_map_fd,8,3                     ; @map_fd
l_.str.2:                               ; @.str.2
	.asciz	"cannot open map file %s: %m"

	.comm	_Map,4,2                        ; @Map
	.comm	_MAP_SIZE,4,2                   ; @MAP_SIZE
	.comm	_map_size,8,3                   ; @map_size
	.comm	_verbosity,8,3                  ; @verbosity
l_.str.3:                               ; @.str.3
	.asciz	"read %d bytes from map file %s\n"

.subsections_via_symbols
