	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cmd                         ## -- Begin function do_cmd
	.p2align	4, 0x90
_do_cmd:                                ## @do_cmd
	.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.13:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_ipfw_socket@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	testl	%eax, %eax
	jns	LBB0_5
LBB0_4:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_5:
	movq	_IP_FW_GET@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.6:
	movq	_IP_DUMMYNET_GET@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.7:
	movq	_IP_FW_ADD@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.8:
	movq	_IP_FW3@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.9:
	testl	%ebx, %ebx
	js	LBB0_14
## %bb.10:
	movq	_IP_FW_NAT_GET_CONFIG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.11:
	movq	_IP_FW_NAT_GET_LOG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.12:
	movl	(%r12), %edi
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setsockopt                     ## TAILCALL
LBB0_14:
	movl	%ebx, %edx
	negl	%edx
	cmovsl	%ebx, %edx
	movl	(%r12), %edi
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rcx
	movq	%r14, %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getsockopt                     ## 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
	jmp	LBB0_4
	.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	_IP_FW_GET,4,2                  ## @IP_FW_GET
	.comm	_IP_DUMMYNET_GET,4,2            ## @IP_DUMMYNET_GET
	.comm	_IP_FW_ADD,4,2                  ## @IP_FW_ADD
	.comm	_IP_FW3,4,2                     ## @IP_FW3
	.comm	_IP_FW_NAT_GET_CONFIG,4,2       ## @IP_FW_NAT_GET_CONFIG
	.comm	_IP_FW_NAT_GET_LOG,4,2          ## @IP_FW_NAT_GET_LOG
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cmd                         ; -- Begin function do_cmd
	.p2align	2
_do_cmd:                                ; @do_cmd
	.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_10
; %bb.3:
	tbz	w0, #31, LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_5:
Lloh10:
	adrp	x8, _IP_FW_GET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IP_FW_GET@GOTPAGEOFF]
Lloh12:
	adrp	x9, _IP_DUMMYNET_GET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IP_DUMMYNET_GET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _IP_FW_ADD@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IP_FW_ADD@GOTPAGEOFF]
Lloh18:
	adrp	x11, _IP_FW3@GOTPAGE
Lloh19:
	ldr	x11, [x11, _IP_FW3@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	ldr	w11, [x11]
	cmp	w8, w21
	ccmp	w9, w21, #4, ne
	ccmp	w10, w21, #4, ne
	ccmp	w11, w21, #4, ne
	b.eq	LBB0_9
; %bb.6:
	tbnz	w21, #31, LBB0_9
; %bb.7:
Lloh22:
	adrp	x8, _IP_FW_NAT_GET_CONFIG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IP_FW_NAT_GET_CONFIG@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _IP_FW_NAT_GET_LOG@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IP_FW_NAT_GET_LOG@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #4, ne
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x22]
Lloh28:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x2, x21
	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_9:
	cmp	w21, #0
	cneg	w2, w21, mi
	ldr	w0, [x22]
Lloh31:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh33:
	ldr	w1, [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	_getsockopt
LBB0_10:
Lloh34:
	adrp	x8, _AF_INET@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _IPPROTO_RAW@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IPPROTO_RAW@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	bl	_socket
	str	w0, [x22]
	tbz	w0, #31, LBB0_5
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.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	_IP_FW_GET,4,2                  ; @IP_FW_GET
	.comm	_IP_DUMMYNET_GET,4,2            ; @IP_DUMMYNET_GET
	.comm	_IP_FW_ADD,4,2                  ; @IP_FW_ADD
	.comm	_IP_FW3,4,2                     ; @IP_FW3
	.comm	_IP_FW_NAT_GET_CONFIG,4,2       ; @IP_FW_NAT_GET_CONFIG
	.comm	_IP_FW_NAT_GET_LOG,4,2          ; @IP_FW_NAT_GET_LOG
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
.subsections_via_symbols
