	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_rsvp_init                   ## -- Begin function ip_rsvp_init
	.p2align	4, 0x90
_ip_rsvp_init:                          ## @ip_rsvp_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SOCK_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_IPPROTO_RSVP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_V_ip_rsvpd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	%rdi, (%rax)
	movq	_V_ip_rsvp_on@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	je	LBB0_8
## %bb.7:
	popq	%rbp
	retq
LBB0_8:
	movl	$1, (%rcx)
	movq	_V_rsvp_on@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_RAW,8,3                   ## @SOCK_RAW
	.comm	_IPPROTO_RSVP,8,3               ## @IPPROTO_RSVP
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_V_ip_rsvpd,8,3                 ## @V_ip_rsvpd
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.comm	_V_ip_rsvp_on,4,2               ## @V_ip_rsvp_on
	.comm	_V_rsvp_on,4,2                  ## @V_rsvp_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_rsvp_init                   ; -- Begin function ip_rsvp_init
	.p2align	2
_ip_rsvp_init:                          ; @ip_rsvp_init
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SOCK_RAW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_RAW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IPPROTO_RSVP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_RSVP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _V_ip_rsvpd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V_ip_rsvpd@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ret
LBB0_5:
	str	x0, [x8]
Lloh14:
	adrp	x8, _V_ip_rsvp_on@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V_ip_rsvp_on@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_7
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #0
	mov	w9, #1
	str	w9, [x8]
Lloh16:
	adrp	x8, _V_rsvp_on@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V_rsvp_on@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_RAW,8,3                   ; @SOCK_RAW
	.comm	_IPPROTO_RSVP,8,3               ; @IPPROTO_RSVP
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_V_ip_rsvpd,8,3                 ; @V_ip_rsvpd
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.comm	_V_ip_rsvp_on,4,2               ; @V_ip_rsvp_on
	.comm	_V_rsvp_on,4,2                  ; @V_rsvp_on
.subsections_via_symbols
