	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdx_change_mtu
_bdx_change_mtu:                        ## @bdx_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	%esi, (%rdi)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_RET
LBB0_2:
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	cmpl	%r14d, %r8d
	jle	LBB0_4
## %bb.3:
	movq	_BDX_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %ecx
	callq	_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_RET
LBB0_4:
	movl	%r14d, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_bdx_close
	movq	%rbx, %rdi
	callq	_bdx_open
LBB0_6:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RET                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTER,4,2                      ## @ENTER
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s mtu %d is less then minimal %d\n"

	.comm	_BDX_DRV_NAME,4,2               ## @BDX_DRV_NAME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_bdx_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdx_change_mtu
_bdx_change_mtu:                        ; @bdx_change_mtu
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_RET
LBB0_2:
Lloh0:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	cmp	w4, w20
	b.le	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _BDX_DRV_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BDX_DRV_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x20
	bl	_ERR
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_RET
LBB0_4:
	str	w20, [x19]
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_bdx_close
	mov	x0, x19
	bl	_bdx_open
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RET
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENTER,4,2                      ; @ENTER
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s mtu %d is less then minimal %d\n"

	.comm	_BDX_DRV_NAME,4,2               ; @BDX_DRV_NAME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_bdx_change_mtu
.subsections_via_symbols
