	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_set3                        ## -- Begin function do_set3
	.p2align	4, 0x90
_do_set3:                               ## @do_set3
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_co@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	_ipfw_socket@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	testl	%eax, %eax
	js	LBB0_4
LBB0_5:
	movl	%r15d, (%rbx)
	movl	(%r12), %edi
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP_FW3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setsockopt                     ## TAILCALL
LBB0_2:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPPROTO_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_socket
	movl	%eax, (%r12)
	testl	%eax, %eax
	jns	LBB0_5
LBB0_4:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_co,8,3                         ## @co
	.comm	_ipfw_socket,4,2                ## @ipfw_socket
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.comm	_IPPROTO_RAW,4,2                ## @IPPROTO_RAW
	.comm	_EX_UNAVAILABLE,4,2             ## @EX_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket"

	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IP_FW3,4,2                     ## @IP_FW3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_set3                        ; -- Begin function do_set3
	.p2align	2
_do_set3:                               ; @do_set3
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _co@GOTPAGE
Lloh1:
	ldr	x8, [x8, _co@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh3:
	adrp	x22, _ipfw_socket@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ipfw_socket@GOTPAGEOFF]
	ldr	w0, [x22]
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	tbnz	w0, #31, LBB0_6
LBB0_4:
	str	w21, [x20]
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _IP_FW3@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IP_FW3@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_setsockopt
LBB0_5:
Lloh11:
	adrp	x8, _AF_INET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _IPPROTO_RAW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IPPROTO_RAW@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_socket
	str	w0, [x22]
	tbz	w0, #31, LBB0_4
LBB0_6:
Lloh20:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_co,8,3                         ; @co
	.comm	_ipfw_socket,4,2                ; @ipfw_socket
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.comm	_IPPROTO_RAW,4,2                ; @IPPROTO_RAW
	.comm	_EX_UNAVAILABLE,4,2             ; @EX_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket"

	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IP_FW3,4,2                     ; @IP_FW3
.subsections_via_symbols
