	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IPADDRESS_ConstrainField
_IPADDRESS_ConstrainField:              ## @IPADDRESS_ConstrainField
	.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, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	cmpl	$4, %ebx
	jae	LBB0_1
## %bb.2:
	movq	(%r14), %r12
	movl	%ebx, %eax
	leaq	(%rax,%rax,2), %r13
	movl	8(%r12,%r13,4), %edi
	leaq	-58(%rbp), %rsi
	movl	$4, %edx
	callq	_GetWindowTextW
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	-58(%rbp), %rdi
	callq	_atoiW
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_IPADDRESS_IPNotify
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movl	(%r12,%r13,4), %edx
	movl	4(%r12,%r13,4), %eax
	cmpl	%edx, %ebx
	cmovgl	%ebx, %edx
	cmpl	%eax, %edx
	cmovgel	%eax, %edx
	cmpl	%r15d, %edx
	jne	LBB0_4
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	(%r12,%r13,4), %r14
	addq	$8, %r14
	leaq	_IPADDRESS_ConstrainField.fmt(%rip), %rsi
	leaq	-58(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_wsprintfW
	movq	%rbx, %rdi
	callq	_debugstr_w
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_SetWindowTextW
	jmp	LBB0_5
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_IPADDRESS_ConstrainField.fmt:          ## @IPADDRESS_ConstrainField.fmt
	.asciz	"%d"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(currentfield=%d)\n"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"  curValue=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"  newValue=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"  field=%s\n"

	.no_dead_strip	_IPADDRESS_ConstrainField
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IPADDRESS_ConstrainField
_IPADDRESS_ConstrainField:              ; @IPADDRESS_ConstrainField
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cmp	w19, #4
	b.hs	LBB0_3
; %bb.1:
	ldr	x23, [x20]
	mov	w8, #12
	umaddl	x22, w19, w8, x23
	ldr	w0, [x22, #8]!
	add	x1, sp, #14
	mov	w2, #4
	bl	_GetWindowTextW
	cbz	w0, LBB0_3
; %bb.2:
	mov	w24, w19
	add	x0, sp, #14
	bl	_atoiW
	mov	x21, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_IPADDRESS_IPNotify
	mov	x19, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	mov	w8, #12
	madd	x8, x24, x8, x23
	ldp	w9, w8, [x8]
	cmp	w19, w9
	csel	w9, w19, w9, gt
	cmp	w9, w8
	csel	w2, w9, w8, lt
	cmp	w2, w21
	b.ne	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_4:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
Lloh15:
	adrp	x1, _IPADDRESS_ConstrainField.fmt@PAGE
Lloh16:
	add	x1, x1, _IPADDRESS_ConstrainField.fmt@PAGEOFF
	add	x0, sp, #14
	bl	_wsprintfW
	add	x0, sp, #14
	bl	_debugstr_w
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	ldr	w0, [x22]
	add	x1, sp, #14
	bl	_SetWindowTextW
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_IPADDRESS_ConstrainField.fmt:          ; @IPADDRESS_ConstrainField.fmt
	.asciz	"%d"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(currentfield=%d)\n"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"  curValue=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"  newValue=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"  field=%s\n"

	.no_dead_strip	_IPADDRESS_ConstrainField
.subsections_via_symbols
