	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_put_dmem                   ## -- Begin function smb_put_dmem
	.p2align	4, 0x90
_smb_put_dmem:                          ## @smb_put_dmem
	.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
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	_smb_copy_iconv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movq	%rax, (%rbx)
	movq	%rsi, %rdi
	callq	_SMB_UNICODE_STRINGS
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_mb_put_padbyte
LBB0_6:
	movq	_MB_MCUSTOM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_MB_MSYSTEM@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mb_put_mem                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_MSYSTEM,4,2                 ## @MB_MSYSTEM
	.comm	_smb_copy_iconv,4,2             ## @smb_copy_iconv
	.comm	_MB_MCUSTOM,4,2                 ## @MB_MCUSTOM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_put_dmem                   ; -- Begin function smb_put_dmem
	.p2align	2
_smb_put_dmem:                          ; @smb_put_dmem
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x3, LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	ldr	x8, [x1]
	cbz	x8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, _smb_copy_iconv@GOTPAGE
Lloh1:
	ldr	x9, [x9, _smb_copy_iconv@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x21, #8]
	str	x8, [x21]
	mov	x0, x1
	bl	_SMB_UNICODE_STRINGS
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_mb_put_padbyte
LBB0_4:
Lloh3:
	adrp	x8, _MB_MCUSTOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MB_MCUSTOM@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh5:
	adrp	x8, _MB_MSYSTEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MB_MSYSTEM@GOTPAGEOFF]
LBB0_7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mb_put_mem
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_MSYSTEM,4,2                 ; @MB_MSYSTEM
	.comm	_smb_copy_iconv,4,2             ; @smb_copy_iconv
	.comm	_MB_MCUSTOM,4,2                 ; @MB_MCUSTOM
.subsections_via_symbols
