	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_delete
_hash_delete:                           ## @hash_delete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	(%rdi), %rdi
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	_R_CURSOR@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_O_ACCMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdi), %ecx
	movq	_O_RDONLY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_6
## %bb.5:
	movq	_EPERM@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, 8(%rdi)
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_HASH_DELETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_hash_access                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_CURSOR,8,3                   ## @R_CURSOR
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_errno,8,3                      ## @errno
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_O_ACCMODE,4,2                  ## @O_ACCMODE
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_EPERM,8,3                      ## @EPERM
	.comm	_HASH_DELETE,4,2                ## @HASH_DELETE
	.no_dead_strip	_hash_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_delete
_hash_delete:                           ; @hash_delete
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	x0, [x0]
	cbz	x2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _R_CURSOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_CURSOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x2
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w9, [x0]
Lloh5:
	adrp	x10, _O_ACCMODE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _O_ACCMODE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh8:
	adrp	x10, _O_RDONLY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _O_RDONLY@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _EPERM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_5:
Lloh13:
	adrp	x9, _errno@GOTPAGE
Lloh14:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh15:
	str	x8, [x9]
	str	x8, [x0, #8]
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh19:
	adrp	x9, _HASH_DELETE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HASH_DELETE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x9]
	mov	x2, x8
	mov	x3, #0
	b	_hash_access
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_R_CURSOR,8,3                   ; @R_CURSOR
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_errno,8,3                      ; @errno
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_O_ACCMODE,4,2                  ; @O_ACCMODE
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_EPERM,8,3                      ; @EPERM
	.comm	_HASH_DELETE,4,2                ; @HASH_DELETE
	.no_dead_strip	_hash_delete
.subsections_via_symbols
