	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipso_v4_sock_setattr          ## -- Begin function cipso_v4_sock_setattr
	.p2align	4, 0x90
_cipso_v4_sock_setattr:                 ## @cipso_v4_sock_setattr
	.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
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_CIPSO_V4_OPT_LEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_kmalloc
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_cipso_v4_genopt
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movl	%ebx, %r15d
	addl	$3, %r15d
	andl	$-4, %r15d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_kzalloc_ip_options
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	movq	%rax, %r14
	movl	8(%rax), %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movl	%r15d, (%r14)
	movl	$4, 4(%r14)
	movq	%r13, %rdi
	callq	_kfree
	movq	%r12, %rdi
	callq	_inet_sk
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_rcu_dereference
	movq	%rax, %r13
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.7:
	movq	%r12, %rdi
	callq	_inet_csk
	testq	%r13, %r13
	je	LBB0_8
## %bb.9:
	movl	(%rax), %ecx
	subl	(%r13), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_10
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movq	%r13, %rdi
	callq	_kfree
	xorl	%edi, %edi
	callq	_kfree_ip_options
	movl	%ebx, %eax
	jmp	LBB0_14
LBB0_8:
	movl	(%rax), %ecx
LBB0_10:
	addl	(%r14), %ecx
	movl	%ecx, (%rax)
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	*8(%rax)
LBB0_11:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_rcu_assign_pointer
	testq	%r13, %r13
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_get_ip_options_rcu
	movq	_opt_kfree_rcu@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_call_rcu
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_CIPSO_V4_OPT_LEN_MAX,4,2       ## @CIPSO_V4_OPT_LEN_MAX
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_opt_kfree_rcu,4,2              ## @opt_kfree_rcu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipso_v4_sock_setattr          ; -- Begin function cipso_v4_sock_setattr
	.p2align	2
_cipso_v4_sock_setattr:                 ; @cipso_v4_sock_setattr
	.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
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CIPSO_V4_OPT_LEN_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CIPSO_V4_OPT_LEN_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x23
	bl	_kmalloc
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	bl	_cipso_v4_genopt
	mov	x22, x0
	tbnz	w0, #31, LBB0_8
; %bb.3:
	add	w8, w22, #3
	and	w23, w8, #0xfffffffc
	ldr	w1, [x24]
	mov	x0, x23
	bl	_kzalloc_ip_options
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	ldr	w0, [x0, #8]
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	mov	w8, #4
	stp	w23, w8, [x20]
	mov	x0, x21
	bl	_kfree
	mov	x0, x19
	bl	_inet_sk
	mov	x22, x0
	ldr	w0, [x0]
	bl	_rcu_dereference
	mov	x21, x0
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_11
; %bb.5:
	mov	x0, x19
	bl	_inet_csk
	cbz	x21, LBB0_9
; %bb.6:
	ldr	w8, [x21]
	ldr	w9, [x0]
	sub	w8, w9, w8
	str	w8, [x0]
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x21
	bl	_kfree
	mov	x0, #0
	bl	_kfree_ip_options
	b	LBB0_14
LBB0_9:
	ldr	w8, [x0]
LBB0_10:
	ldr	w9, [x20]
	add	w8, w8, w9
	str	w8, [x0]
	ldr	x8, [x0, #8]
	ldr	w1, [x0, #4]
	mov	x0, x19
	blr	x8
LBB0_11:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_rcu_assign_pointer
	cbz	x21, LBB0_13
; %bb.12:
	mov	x0, x21
	bl	_get_ip_options_rcu
Lloh8:
	adrp	x8, _opt_kfree_rcu@GOTPAGE
Lloh9:
	ldr	x8, [x8, _opt_kfree_rcu@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_call_rcu
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_CIPSO_V4_OPT_LEN_MAX,4,2       ; @CIPSO_V4_OPT_LEN_MAX
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_opt_kfree_rcu,4,2              ; @opt_kfree_rcu
.subsections_via_symbols
