	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_propagate_ifnet_mtu
_ipoib_propagate_ifnet_mtu:             ## @ipoib_propagate_ifnet_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	xorl	%r14d, %r14d
	cmpl	%esi, (%rbx)
	je	LBB0_4
## %bb.1:
	movl	%esi, %r15d
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_if_name
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	callq	_strlcpy
	movl	%r15d, -32(%rbp)
	movl	4(%rbx), %edi
	callq	_CURVNET_SET
	movq	_SIOCSIFMTU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rdx
	movq	_curthread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ifhwioctl
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_CURVNET_RESTORE
	jmp	LBB0_4
LBB0_3:
	movl	%r15d, (%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_SIOCSIFMTU,4,2                 ## @SIOCSIFMTU
	.comm	_curthread,4,2                  ## @curthread
	.no_dead_strip	_ipoib_propagate_ifnet_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_propagate_ifnet_mtu
_ipoib_propagate_ifnet_mtu:             ; @ipoib_propagate_ifnet_mtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x19, [x0]
	ldr	w8, [x19]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_5
LBB0_2:
	mov	x20, x1
	cbz	w2, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_if_name
Lloh0:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_strlcpy
	str	w20, [sp, #8]
	ldr	w0, [x19, #4]
	bl	_CURVNET_SET
Lloh3:
	adrp	x8, _SIOCSIFMTU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCSIFMTU@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _curthread@GOTPAGE
Lloh7:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x1, x19
	bl	_ifhwioctl
	mov	x21, x0
	bl	_CURVNET_RESTORE
	b	LBB0_5
LBB0_4:
	mov	w21, #0
	str	w20, [x19]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_SIOCSIFMTU,4,2                 ; @SIOCSIFMTU
	.comm	_curthread,4,2                  ; @curthread
	.no_dead_strip	_ipoib_propagate_ifnet_mtu
.subsections_via_symbols
