	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_change_mtu               ## -- Begin function ipoib_change_mtu
	.p2align	4, 0x90
_ipoib_change_mtu:                      ## @ipoib_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_ipoib_cm_admin_enabled
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_ipoib_cm_max_mtu
	movl	%eax, %edi
	callq	_IPOIB_CM_MTU
	cmpl	%r14d, %eax
	jl	LBB0_2
## %bb.3:
	movl	(%rbx), %edx
	cmpl	%r14d, %edx
	jge	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ipoib_warn
LBB0_5:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_propagate_ifnet_mtu      ## TAILCALL
LBB0_6:
	movl	12(%rbx), %edi
	callq	_IPOIB_UD_MTU
	cmpl	%r14d, %eax
	jge	LBB0_7
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%rbx), %edi
	movl	4(%rbx), %r12d
	movl	%r14d, 4(%rbx)
	movl	%r14d, %esi
	callq	_min
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_ipoib_propagate_ifnet_mtu
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movl	%eax, %r15d
	movl	%r12d, 4(%rbx)
	jmp	LBB0_11
LBB0_8:
	xorl	%r15d, %r15d
	cmpl	%r14d, %r12d
	je	LBB0_11
## %bb.9:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rbx
	movq	%rbx, %rsi
	callq	_queue_work
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mtu > %d will cause multicast packet drops.\n"

	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_change_mtu               ; -- Begin function ipoib_change_mtu
	.p2align	2
_ipoib_change_mtu:                      ; @ipoib_change_mtu
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_ipoib_cm_admin_enabled
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_ipoib_cm_max_mtu
	bl	_IPOIB_CM_MTU
	cmp	w0, w20
	b.lt	LBB0_6
; %bb.2:
	ldr	w2, [x19]
	cmp	w2, w20
	b.ge	LBB0_4
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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	_ipoib_propagate_ifnet_mtu
LBB0_5:
	ldr	w0, [x19, #12]
	bl	_IPOIB_UD_MTU
	cmp	w0, w20
	b.ge	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	ldp	w0, w22, [x19]
	str	w20, [x19, #4]
	mov	x1, x20
	bl	_min
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_ipoib_propagate_ifnet_mtu
	cbz	w0, LBB0_10
; %bb.9:
	str	w22, [x19, #4]
	b	LBB0_7
LBB0_10:
	cmp	w22, w20
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	b	LBB0_7
LBB0_12:
Lloh5:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_queue_work
	mov	w0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mtu > %d will cause multicast packet drops.\n"

	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
.subsections_via_symbols
