	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_asy_change_mtu
_x25_asy_change_mtu:                    ## @x25_asy_change_mtu
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r14
	leal	(%r15,%r15), %ebx
	addl	$4, %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_kmalloc
	movq	%rax, %r12
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_kmalloc
	movq	%rax, %r13
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:
	leal	(%r15,%r15), %ebx
	leaq	40(%r14), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_xchg
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.4:
	cmpl	%ebx, %edx
	jle	LBB0_5
## %bb.6:
	movl	$0, 8(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
	jmp	LBB0_7
LBB0_2:
	movq	%r12, %rdi
	callq	_kfree
	movq	%r13, %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_5:
	movq	(%r14), %rdi
	movq	16(%r14), %rsi
	callq	_memcpy
LBB0_7:
	movq	(%r14), %rax
	movq	%rax, 16(%r14)
	leaq	24(%r14), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_xchg
	movq	%rax, %r13
	movl	32(%r14), %edx
	testl	%edx, %edx
	je	LBB0_11
## %bb.8:
	cmpl	%ebx, %edx
	jle	LBB0_9
## %bb.10:
	movl	$0, 32(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	movq	_SLF_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$44, %rsi
	callq	_set_bit
	jmp	LBB0_11
LBB0_9:
	movq	(%r12), %rdi
	movq	%r13, %rsi
	callq	_memcpy
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movl	%ebx, 36(%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	movq	%r13, %rdi
	callq	_kfree
	xorl	%eax, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SLF_ERROR,4,2                  ## @SLF_ERROR
	.no_dead_strip	_x25_asy_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_asy_change_mtu
_x25_asy_change_mtu:                    ; @x25_asy_change_mtu
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	lsl	w26, w19, #1
	add	w22, w26, #4
Lloh0:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	_kmalloc
	mov	x23, x0
	ldr	w1, [x24]
	mov	x0, x22
	bl	_kmalloc
	mov	x24, x0
	cmp	x23, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_kfree
	mov	x0, x24
	bl	_kfree
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_2:
	add	x22, x21, #40
	mov	x0, x22
	bl	_spin_lock_bh
	mov	x0, x21
	mov	x1, x23
	bl	_xchg
	mov	x23, x0
	ldr	w2, [x21, #8]
	cbz	w2, LBB0_6
; %bb.3:
	cmp	w2, w26
	b.le	LBB0_5
; %bb.4:
	str	wzr, [x21, #8]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_6
LBB0_5:
	ldr	x0, [x21]
	ldr	x1, [x21, #16]
	bl	_memcpy
LBB0_6:
	ldr	x8, [x21]
	str	x8, [x21, #16]
	add	x25, x21, #24
	mov	x0, x25
	mov	x1, x24
	bl	_xchg
	mov	x24, x0
	ldr	w2, [x21, #32]
	cbz	w2, LBB0_10
; %bb.7:
	cmp	w2, w26
	b.le	LBB0_9
; %bb.8:
	str	wzr, [x21, #32]
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
Lloh5:
	adrp	x8, _SLF_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SLF_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x21, #44
	bl	_set_bit
	b	LBB0_10
LBB0_9:
	ldr	x0, [x25]
	mov	x1, x24
	bl	_memcpy
LBB0_10:
	str	w19, [x20]
	str	w26, [x21, #36]
	mov	x0, x22
	bl	_spin_unlock_bh
	mov	x0, x23
	bl	_kfree
	mov	x0, x24
	bl	_kfree
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SLF_ERROR,4,2                  ; @SLF_ERROR
	.no_dead_strip	_x25_asy_change_mtu
.subsections_via_symbols
