	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_put
_hash_put:                              ## @hash_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	%rsi, %r9
	movq	(%rdi), %rdi
	movq	_R_NOOVERWRITE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	cmpq	%rcx, %rsi
	je	LBB0_4
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_O_ACCMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movq	_O_RDONLY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	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:
	cmpq	%rcx, %rsi
	jne	LBB0_7
## %bb.8:
	movq	_HASH_PUTNEW@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	movq	_HASH_PUT@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %esi
	movq	%r9, %rdx
	movq	%r8, %rcx
	popq	%rbp
	jmp	_hash_access                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_NOOVERWRITE,8,3              ## @R_NOOVERWRITE
	.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_PUTNEW,4,2                ## @HASH_PUTNEW
	.comm	_HASH_PUT,4,2                   ## @HASH_PUT
	.no_dead_strip	_hash_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_put
_hash_put:                              ; @hash_put
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	mov	x2, x1
	ldr	x0, [x0]
Lloh0:
	adrp	x9, _R_NOOVERWRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_NOOVERWRITE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x3, LBB0_3
; %bb.1:
	cmp	x9, x3
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w10, [x0]
Lloh5:
	adrp	x11, _O_ACCMODE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _O_ACCMODE@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	and	w10, w11, w10
Lloh8:
	adrp	x11, _O_RDONLY@GOTPAGE
Lloh9:
	ldr	x11, [x11, _O_RDONLY@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	cmp	w10, w11
	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	x10, _HASH_PUTNEW@GOTPAGE
Lloh20:
	ldr	x10, [x10, _HASH_PUTNEW@GOTPAGEOFF]
Lloh21:
	adrp	x11, _HASH_PUT@GOTPAGE
Lloh22:
	ldr	x11, [x11, _HASH_PUT@GOTPAGEOFF]
	cmp	x9, x3
	csel	x9, x10, x11, eq
	ldr	w1, [x9]
	mov	x3, x8
	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 AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_R_NOOVERWRITE,8,3              ; @R_NOOVERWRITE
	.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_PUTNEW,4,2                ; @HASH_PUTNEW
	.comm	_HASH_PUT,4,2                   ; @HASH_PUT
	.no_dead_strip	_hash_put
.subsections_via_symbols
