	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_write                      ## -- Begin function smb_write
	.p2align	4, 0x90
_smb_write:                             ## @smb_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	%esi, -4(%rbp)
	movq	%r8, -24(%rbp)
	movq	%rcx, -16(%rbp)
	movl	%edx, -8(%rbp)
	movl	(%rdi), %edi
	movq	_SMBIOC_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	movl	-16(%rbp), %eax
LBB0_2:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMBIOC_WRITE,4,2               ## @SMBIOC_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_write                      ; -- Begin function smb_write
	.p2align	2
_smb_write:                             ; @smb_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	stp	x4, x3, [sp, #8]
	stp	w2, w1, [sp, #24]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _SMBIOC_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMBIOC_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	ldr	w8, [sp, #16]
	cmn	w0, #1
	csinv	w0, w8, wzr, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMBIOC_WRITE,4,2               ; @SMBIOC_WRITE
.subsections_via_symbols
