	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isns_req_add_port              ## -- Begin function isns_req_add_port
	.p2align	4, 0x90
_isns_req_add_port:                     ## @isns_req_add_port
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdx), %rax
	movl	(%rax), %edx
	cmpl	$128, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_5
## %bb.2:
	movl	$129, %edi
	jmp	LBB0_3
LBB0_4:
	movl	$128, %edi
LBB0_3:
	callq	_ntohs
	leaq	-28(%rbp), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_be32enc
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$4, %edx
	movq	%r15, %rcx
	callq	_isns_req_add
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_errx                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported address family %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isns_req_add_port              ; -- Begin function isns_req_add_port
	.p2align	2
_isns_req_add_port:                     ; @isns_req_add_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x2]
	ldr	w2, [x8]
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #129
	b	LBB0_4
LBB0_3:
	mov	w0, #128
LBB0_4:
	bl	_ntohs
	mov	x1, x0
	add	x0, sp, #12
	bl	_be32enc
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_isns_req_add
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_log_errx
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported address family %d"

.subsections_via_symbols
