	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em_nbyte_change
_em_nbyte_change:                       ## @em_nbyte_change
	.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
	cmpl	$4, %edx
	jb	LBB0_2
## %bb.1:
	movq	%rcx, %rbx
	movslq	%edx, %rcx
	movslq	(%rsi), %rax
	addq	$4, %rax
	cmpq	%rcx, %rax
	jbe	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, (%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_kmemdup
	movq	%rax, %rcx
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_em_nbyte_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em_nbyte_change
_em_nbyte_change:                       ; @em_nbyte_change
	.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
	cmp	w2, #4
	b.lo	LBB0_2
; %bb.1:
	ldrsw	x8, [x1]
	add	x8, x8, #4
	cmp	x8, w2, sxtw
	b.ls	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x19, x3
	str	w8, [x3]
Lloh2:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	mov	x0, x1
	mov	x1, x8
	bl	_kmemdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_4
LBB0_7:
Lloh5:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_em_nbyte_change
.subsections_via_symbols
