	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bind_lease                     ## -- Begin function bind_lease
	.p2align	4, 0x90
_bind_lease:                            ## @bind_lease
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movl	40(%rdx), %eax
	movq	16(%rdx), %rcx
	movl	%eax, 12(%rcx)
	movq	16(%rcx), %rcx
	movq	_DHO_INTERFACE_MTU@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpl	$8, (%rcx,%rax,8)
	jne	LBB0_16
## %bb.1:
	movq	32(%rdx), %rdx
	movq	(%rdx), %rsi
	movq	(%rsi,%rax,8), %r15
	movq	_ACTION_SUPERSEDE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r12
	cmpq	%r12, %r15
	jne	LBB0_3
## %bb.2:
	movq	8(%rdx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_getUShort
	jmp	LBB0_4
LBB0_3:
	movl	4(%rcx,%rax,8), %edi
	callq	_be16dec
LBB0_4:
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	16(%rax), %rax
	movq	(%r13), %rcx
	cmpl	$8, (%rax,%rcx,8)
	jne	LBB0_8
## %bb.6:
	movl	4(%rax,%rcx,8), %edi
	callq	_be16dec
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	movq	_MIN_MTU@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %r14
	jge	LBB0_13
## %bb.10:
	cmpq	%r12, %r15
	jne	LBB0_12
## %bb.11:
	testq	%r14, %r14
	je	LBB0_16
LBB0_12:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_warning
	jmp	LBB0_16
LBB0_13:
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_S_RENEWING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.14:
	cmpq	%rax, %r14
	je	LBB0_16
LBB0_15:
	movq	_privfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_interface_set_mtu_unpriv
LBB0_16:
	movq	(%rbx), %rax
	movq	16(%rax), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_client_lease
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_S_REQUESTING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_21
LBB0_18:
	movq	_S_RENEWING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_21
LBB0_20:
	movq	_S_REBOOTING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %rdi
	cmoveq	%rcx, %rdi
LBB0_21:
	movq	16(%rax), %rax
	movl	12(%rax), %esi
	callq	_script_init
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.22:
	movq	(%rax), %rcx
	movq	_S_REBOOTING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_24
## %bb.23:
	leaq	L_.str.5(%rip), %rdi
	callq	_script_write_params
	movq	(%rbx), %rax
LBB0_24:
	movq	16(%rax), %rsi
	leaq	L_.str.6(%rip), %rdi
	callq	_script_write_params
	movq	(%rbx), %rax
	movq	24(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	leaq	L_.str.7(%rip), %rdi
	callq	_script_write_params
LBB0_26:
	xorl	%eax, %eax
	callq	_script_go
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	callq	_free_client_lease
	movq	(%rbx), %rax
LBB0_28:
	movq	16(%rax), %rcx
	movq	%rcx, 8(%rax)
	movq	$0, 16(%rax)
	movq	(%rcx), %rdi
	movq	_state_bound@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_add_timeout
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	callq	_piaddr
	movq	(%rbx), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx), %edx
	movq	_cur_time@GOTPCREL(%rip), %rcx
	subl	(%rcx), %edx
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	callq	_note
	movq	_S_BOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_reinitialize_interfaces
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_go_daemon                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DHO_INTERFACE_MTU,8,3          ## @DHO_INTERFACE_MTU
	.comm	_ACTION_SUPERSEDE,8,3           ## @ACTION_SUPERSEDE
	.comm	_MIN_MTU,8,3                    ## @MIN_MTU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mtu size %u < %d: ignored"

	.comm	_S_RENEWING,8,3                 ## @S_RENEWING
	.comm	_privfd,4,2                     ## @privfd
	.comm	_S_REQUESTING,8,3               ## @S_REQUESTING
L_.str.1:                               ## @.str.1
	.asciz	"BOUND"

L_.str.2:                               ## @.str.2
	.asciz	"RENEW"

	.comm	_S_REBOOTING,8,3                ## @S_REBOOTING
L_.str.3:                               ## @.str.3
	.asciz	"REBOOT"

L_.str.4:                               ## @.str.4
	.asciz	"REBIND"

L_.str.5:                               ## @.str.5
	.asciz	"old_"

L_.str.6:                               ## @.str.6
	.asciz	"new_"

L_.str.7:                               ## @.str.7
	.asciz	"alias_"

	.comm	_state_bound,4,2                ## @state_bound
L_.str.8:                               ## @.str.8
	.asciz	"bound to %s -- renewal in %d seconds."

	.comm	_cur_time,8,3                   ## @cur_time
	.comm	_S_BOUND,8,3                    ## @S_BOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bind_lease                     ; -- Begin function bind_lease
	.p2align	2
_bind_lease:                            ; @bind_lease
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x10, [x0]
	ldr	w8, [x10, #40]
	ldr	x9, [x10, #16]
	str	w8, [x9, #12]
Lloh0:
	adrp	x23, _DHO_INTERFACE_MTU@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DHO_INTERFACE_MTU@GOTPAGEOFF]
	ldr	x9, [x9, #16]
	ldr	x8, [x23]
	lsl	x11, x8, #3
	ldr	w11, [x9, x11]
	cmp	w11, #8
	b.ne	LBB0_14
; %bb.1:
	ldr	x10, [x10, #32]
	ldr	x11, [x10]
	ldr	x21, [x11, x8, lsl #3]
Lloh2:
	adrp	x11, _ACTION_SUPERSEDE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _ACTION_SUPERSEDE@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x11]
	cmp	x21, x22
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x10, #8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_getUShort
	b	LBB0_4
LBB0_3:
	add	x8, x9, x8, lsl #3
	ldr	w0, [x8, #4]
	bl	_be16dec
LBB0_4:
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8, #16]
	ldr	x9, [x23]
	lsl	x10, x9, #3
	ldr	w10, [x8, x10]
	cmp	w10, #8
	b.ne	LBB0_7
; %bb.6:
	add	x8, x8, x9, lsl #3
	ldr	w0, [x8, #4]
	bl	_be16dec
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
Lloh5:
	adrp	x8, _MIN_MTU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MIN_MTU@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
	cmp	x20, x2
	b.ge	LBB0_11
; %bb.9:
	cmp	x21, x22
	ccmp	x20, #0, #0, eq
	b.eq	LBB0_14
; %bb.10:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_warning
	b	LBB0_14
LBB0_11:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _S_RENEWING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _S_RENEWING@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	cmp	x20, x0
	b.eq	LBB0_14
LBB0_13:
Lloh13:
	adrp	x8, _privfd@GOTPAGE
Lloh14:
	ldr	x8, [x8, _privfd@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_interface_set_mtu_unpriv
LBB0_14:
	ldr	x8, [x19]
	ldr	x1, [x8, #16]
	mov	x0, x19
	mov	w2, #0
	bl	_write_client_lease
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh16:
	adrp	x10, _S_REQUESTING@GOTPAGE
Lloh17:
	ldr	x10, [x10, _S_REQUESTING@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_16
; %bb.15:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_16:
Lloh21:
	adrp	x10, _S_RENEWING@GOTPAGE
Lloh22:
	ldr	x10, [x10, _S_RENEWING@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_18
; %bb.17:
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh26:
	adrp	x10, _S_REBOOTING@GOTPAGE
Lloh27:
	ldr	x10, [x10, _S_REBOOTING@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
Lloh29:
	adrp	x11, l_.str.4@PAGE
Lloh30:
	add	x11, x11, l_.str.4@PAGEOFF
Lloh31:
	adrp	x12, l_.str.3@PAGE
Lloh32:
	add	x12, x12, l_.str.3@PAGEOFF
	cmp	x9, x10
	csel	x0, x12, x11, eq
LBB0_19:
	ldr	x8, [x8, #16]
	ldr	w1, [x8, #12]
	bl	_script_init
	ldr	x8, [x19]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_22
; %bb.20:
	ldr	x9, [x8]
Lloh33:
	adrp	x10, _S_REBOOTING@GOTPAGE
Lloh34:
	ldr	x10, [x10, _S_REBOOTING@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_22
; %bb.21:
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_script_write_params
	ldr	x8, [x19]
LBB0_22:
	ldr	x1, [x8, #16]
Lloh38:
	adrp	x0, l_.str.6@PAGE
Lloh39:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_script_write_params
	ldr	x8, [x19]
	ldr	x1, [x8, #24]
	cbz	x1, LBB0_24
; %bb.23:
Lloh40:
	adrp	x0, l_.str.7@PAGE
Lloh41:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_script_write_params
LBB0_24:
	bl	_script_go
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_26
; %bb.25:
	bl	_free_client_lease
	ldr	x8, [x19]
LBB0_26:
	ldr	x9, [x8, #16]
	stp	x9, xzr, [x8, #8]
	ldr	x0, [x9]
Lloh42:
	adrp	x8, _state_bound@GOTPAGE
Lloh43:
	ldr	x8, [x8, _state_bound@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_add_timeout
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	bl	_piaddr
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _cur_time@GOTPAGE
Lloh46:
	ldr	x9, [x9, _cur_time@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	sub	w2, w8, w9
Lloh48:
	adrp	x0, l_.str.8@PAGE
Lloh49:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_note
Lloh50:
	adrp	x8, _S_BOUND@GOTPAGE
Lloh51:
	ldr	x8, [x8, _S_BOUND@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x8, [x9]
	bl	_reinitialize_interfaces
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_go_daemon
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_DHO_INTERFACE_MTU,8,3          ; @DHO_INTERFACE_MTU
	.comm	_ACTION_SUPERSEDE,8,3           ; @ACTION_SUPERSEDE
	.comm	_MIN_MTU,8,3                    ; @MIN_MTU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mtu size %u < %d: ignored"

	.comm	_S_RENEWING,8,3                 ; @S_RENEWING
	.comm	_privfd,4,2                     ; @privfd
	.comm	_S_REQUESTING,8,3               ; @S_REQUESTING
l_.str.1:                               ; @.str.1
	.asciz	"BOUND"

l_.str.2:                               ; @.str.2
	.asciz	"RENEW"

	.comm	_S_REBOOTING,8,3                ; @S_REBOOTING
l_.str.3:                               ; @.str.3
	.asciz	"REBOOT"

l_.str.4:                               ; @.str.4
	.asciz	"REBIND"

l_.str.5:                               ; @.str.5
	.asciz	"old_"

l_.str.6:                               ; @.str.6
	.asciz	"new_"

l_.str.7:                               ; @.str.7
	.asciz	"alias_"

	.comm	_state_bound,4,2                ; @state_bound
l_.str.8:                               ; @.str.8
	.asciz	"bound to %s -- renewal in %d seconds."

	.comm	_cur_time,8,3                   ; @cur_time
	.comm	_S_BOUND,8,3                    ; @S_BOUND
.subsections_via_symbols
