	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dbm_unmap                      ## -- Begin function dbm_unmap
	.p2align	4, 0x90
_dbm_unmap:                             ## @dbm_unmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_dbm_base@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_st@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_munmap
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_warn
LBB0_2:
	movq	_ifd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_close
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_4:
	movq	$-1, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dbm_base,8,3                   ## @dbm_base
	.comm	_st,4,2                         ## @st
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dbm_unmap: munmap"

	.comm	_ifd,4,2                        ## @ifd
L_.str.1:                               ## @.str.1
	.asciz	"dbm_unmap: close"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dbm_unmap                      ; -- Begin function dbm_unmap
	.p2align	2
_dbm_unmap:                             ; @dbm_unmap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _dbm_base@GOTPAGE
Lloh1:
	ldr	x19, [x19, _dbm_base@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _st@GOTPAGE
Lloh3:
	ldr	x8, [x8, _st@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_munmap
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
LBB0_2:
Lloh7:
	adrp	x8, _ifd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ifd@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_close
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_4:
	mov	x8, #-1
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dbm_base,8,3                   ; @dbm_base
	.comm	_st,4,2                         ; @st
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dbm_unmap: munmap"

	.comm	_ifd,4,2                        ; @ifd
l_.str.1:                               ; @.str.1
	.asciz	"dbm_unmap: close"

.subsections_via_symbols
