	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modify
_modify:                                ## @modify
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_mib_find_if
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	movq	_UPD_IFINDEX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	8(%r14), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_4
LBB0_5:
	movl	12(%rbx), %ecx
	movl	%ecx, 24(%r14)
	movl	8(%rbx), %ecx
	movl	%ecx, 20(%r14)
	movq	_UPD_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.6:
	movl	40(%r14), %ecx
	movq	_UPD_BCAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	12(%rbx), %ecx
	jne	LBB0_8
## %bb.7:
	andl	%edx, %eax
	je	LBB0_15
LBB0_8:
	movl	%ecx, 12(%rbx)
	testl	%edx, (%r14)
	jne	LBB0_10
	jmp	LBB0_12
LBB0_1:
	movq	_SNMP_ERR_WRONG_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_4:
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_9:
	movq	_UPD_BCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
LBB0_10:
	movl	12(%rbx), %eax
	movl	16(%rbx), %ecx
	movl	%eax, %edx
	andl	%ecx, %edx
	movl	%edx, 8(%rbx)
	cmpq	$0, 32(%r14)
	je	LBB0_12
## %bb.11:
	notl	%eax
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
LBB0_12:
	movq	%rbx, %rdi
	callq	_mib_modify_ifa
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
	movl	24(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_mib_unmodify_ifa
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_RB_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
LBB0_15:
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_WRONG_VALUE,4,2       ## @SNMP_ERR_WRONG_VALUE
	.comm	_UPD_IFINDEX,4,2                ## @UPD_IFINDEX
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.comm	_UPD_MASK,4,2                   ## @UPD_MASK
	.comm	_UPD_BCAST,4,2                  ## @UPD_BCAST
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set netmask/bcast: %m"

	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_RB_MODIFY,4,2                  ## @RB_MODIFY
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.no_dead_strip	_modify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modify
_modify:                                ; @modify
	.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	x0, [x1]
	bl	_mib_find_if
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _UPD_IFINDEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UPD_IFINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_8
LBB0_3:
	ldr	w9, [x20, #12]
	str	w9, [x19, #24]
	ldr	w9, [x20, #8]
	str	w9, [x19, #20]
Lloh3:
	adrp	x9, _UPD_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UPD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.4:
	ldr	w9, [x19, #40]
	ldr	w11, [x20, #12]
Lloh6:
	adrp	x10, _UPD_BCAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _UPD_BCAST@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w11
	b.ne	LBB0_6
; %bb.5:
	and	w8, w10, w8
	cbz	w8, LBB0_15
LBB0_6:
	str	w9, [x20, #12]
	ldr	w8, [x19]
	tst	w10, w8
	b.ne	LBB0_10
	b	LBB0_12
LBB0_7:
Lloh9:
	adrp	x8, _SNMP_ERR_WRONG_VALUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNMP_ERR_WRONG_VALUE@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
Lloh11:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
Lloh13:
	adrp	x9, _UPD_BCAST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _UPD_BCAST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_10:
	ldp	w9, w8, [x20, #12]
	and	w10, w9, w8
	str	w10, [x20, #8]
	ldr	x10, [x19, #32]
	cbz	x10, LBB0_12
; %bb.11:
	orn	w8, w8, w9
	str	w8, [x20, #8]
LBB0_12:
	mov	x0, x20
	bl	_mib_modify_ifa
	cbz	x0, LBB0_14
; %bb.13:
Lloh16:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	ldr	w8, [x19, #24]
	str	w8, [x20, #12]
	ldr	w8, [x19, #20]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_mib_unmodify_ifa
Lloh21:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh23:
	adrp	x8, _RB_MODIFY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RB_MODIFY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_15:
Lloh26:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_WRONG_VALUE,4,2       ; @SNMP_ERR_WRONG_VALUE
	.comm	_UPD_IFINDEX,4,2                ; @UPD_IFINDEX
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.comm	_UPD_MASK,4,2                   ; @UPD_MASK
	.comm	_UPD_BCAST,4,2                  ; @UPD_BCAST
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set netmask/bcast: %m"

	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_RB_MODIFY,4,2                  ; @RB_MODIFY
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.no_dead_strip	_modify
.subsections_via_symbols
